Cheatsheet: Difference between revisions

Content added Content deleted
Line 550: Line 550:
/usr – binaries, documentation, source code, libraries
/usr – binaries, documentation, source code, libraries
/var – Variable Files
/var – Variable Files

== ProcFS ==




== Commands ==
== Commands ==
Line 556: Line 560:
netstat -s
netstat -s
netstat -anp
netstat -ant


*ps
*ps
Line 564: Line 570:


*top
*top
<pre>
us - user cpu time (or) % CPU time spent in user space
sy - system cpu time (or) % CPU time spent in kernel space
ni - user nice cpu time (or) % CPU time spent on low priority processes
id - idle cpu time (or) % CPU time spent idle
wa - io wait cpu time (or) % CPU time spent in wait (on disk)
hi - hardware irq (or) % CPU time spent servicing/handling hardware interrupts
si - software irq (or) % CPU time spent servicing/handling software interrupts
st - steal time % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine
</pre>




*free
*free