Mailinglisten-Archive |
>oder nutze top, rufe es einmal auf, -b batched mode, zum besser parsen >:>top -n 1 -b >59 processes: 58 sleeping, 1 running, 0 zombie, 0 stopped >CPU states: 0.0 user, 0.2 system, 0.0 nice, 0.4 idle >Mem: 248508K av, 206952K used, 41556K free, 0K shrd, 21604K buff >Swap: 265064K av, 6052K used, 259012K free 139772K cached > > PID USER PRI NI SIZE RSS SHARE STAT TIME COMMAND >11751 root 17 0 880 880 692 R 0.9 0.3 0:00 top > 1 root 8 0 84 76 52 S 0.0 0.0 0:42 init > 2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd > nachtrag zu top, bedenke beim parsen das es multi CPU Maschinen gibt, die liefern dann sowas :top -n 1 -b 6:11pm up 29 days, 5:47, 1 user, load average: 0.00, 0.00, 0.00 43 processes: 42 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 0.0% user, 0.1% system, 0.0% nice, 99.1% idle CPU1 states: 0.0% user, 0.1% system, 0.0% nice, 99.1% idle CPU2 states: 0.0% user, 0.1% system, 0.0% nice, 99.1% idle CPU3 states: 0.0% user, 0.1% system, 0.0% nice, 99.1% idle Mem: 513096K av, 474848K used, 38248K free, 0K shrd, 39600K buff Swap: 1028152K av, 724K used, 1027428K free 296600K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND gruss Mathias
php::bar PHP Wiki - Listenarchive