merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 04 Jul 2014 21:47:51 +0300
changeset 1591 8b06ef3d4243
parent 1590 538094022622 (current diff)
parent 1587 4e6403892f2b (diff)
child 1592 5ebe526dd687
merged
--- a/stat.rst	Mon Jun 30 16:55:47 2014 +0300
+++ b/stat.rst	Fri Jul 04 21:47:51 2014 +0300
@@ -115,6 +115,7 @@
 ::
 
   $ top
+  $ dstat
 
 Try press 's' (strace), 'l' (lsof), 'F5' (tree view) in::
 
@@ -167,11 +168,12 @@
 ::
 
   $ top
+  $ dstat
 
 Linux static.
 -------------
 
-Vitual and resident memory size::
+Vitual and resident memory size per process::
 
   $ ps -eo vsz,rsz,pid,cmd --sort=vsz --width 3000
 
@@ -189,6 +191,24 @@
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
    0  0      0 936804   5460  34936    0    0    21     5  363   29  0  0 99  0
 
+System memory distribution::
+
+  $ cat /proc/meminfo
+  $ cat /proc/iomem
+  $ cat /proc/pagetypeinfo
+  $ cat /proc/buddyinfo
+  $ sudo cat /proc/slabinfo
+  $ sudo slabtop
+
+Shared memory segments::
+
+  $ ipcs -m -p
+
+Process memory map::
+
+  $ pmap -x $PID
+  $ pmap -XX $PID
+
 FreeBSD interactive.
 --------------------
 ::
@@ -227,6 +247,28 @@
 
 and add colums TODO.
 
+Power usage.
+============
+::
+
+  $ sudo powertop
+
+Network activity.
+=================
+::
+
+  $ ping $IP
+  $ traceroute $IP
+  $ mtr $IP
+  $ sudo bmon
+  $ sudo iftop -i wlan0
+
+Open ports.
+===========
+::
+
+  $ nmap $IP
+
 Opened file by process.
 =======================