Linux: Difference between revisions

From DWIKI
Line 23: Line 23:
===CPU usage etc===
===CPU usage etc===
  top
  top
htop


==Administration==
==Administration==

Revision as of 14:13, 10 November 2015

Linux is a free Unix-type operating system originally created by Linus Torvalds with the assistance of developers around the world. Developed under the GNU General Public License , the source code for Linux is freely available to everyone.

Links


Rescue CDs


Checking resources

http://www.slashroot.in/linux-system-io-monitoring

show what is doing most disk accesses

iotop 

IO statistics

iostat

vmstat

CPU usage etc

top
htop

Administration


FAQ

List hardware

  • lshw
  • dmidecode

Force reboot

I found sometimes 'reboot' and 'shutdown' don't work in virtual machines, in that case try:

#sync
echo s > /proc/sysrq-trigger
#optionally umount
echo u > /proc/sysrq-trigger
#reboot
echo b > /proc/sysrq-trigger

Mignight commander/dialog strange characters

Quick fix:

export LANG=en_US.ISO-8859-1

This probleem seems to be related to screen/su -