- ps -eafw display running processes and resources that they use
- ps -e -o pid,args --forest display PIDs and process as a tree
- pstree display process tree
- kill -TERM 98989 complete correctly the process with PID 98989
- kill -1 98989 make the process with PID 98989 reread configuration file
- lsof -p 98989 display files opened by process with PID 98989
- lsof /home/user1 display opened file from home user1 directory
- strace -c ls >/dev/null display syscalls list that take and gave ls
- strace -f -e open ls >/dev/null display library's syscalls
- watch -n1 'cat /proc/interrupts' display interrupts in real time
- last reboot display system reboot history
- last user1 display login's history user1
- lsmod display loaded kernel mdule
- free -m dysplay RAM state in mb
- smartctl -A /dev/hda control hard drive /dev/hda with SMART
- smartctl -i /dev/hda check SMART accessibility on hard drive /dev/hda
- tail /var/log/dmesg print 10 last write from kernel load log
- tail /var/log/messages print last 10 write from system log
Sunday, December 7, 2008
Quik Note: Monitoring and debugging
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment