???
4865bf2967
[PATCH] physical memory size computing error
...
There are two minor bugs on physical memory size computing:
(1) fromunits() returns wrong value for "2001844kB", which consists of
more than one digits.
(2) memory()['memtotal'] is in kB. If "--realmem" is not provided at
CLI, totalmem() returns number in MB and the "firmware/hardware"
amount will be minus. totalmem() needs to always return value in kB.
Here is how to test this patch:
(1) Do "smem -w" , the "firmware/hardware" amount should not be minus.
(2) Do "smem -w -R 2001844kB" (change 2001844kB per your PC, note to
keep it in kB unit) , the "firmware/hardware" amount should not be
minus.
Here's a patch to fix these issues.
2009-05-14 22:08:38 -05:00
Jeff Schroeder
52848c0efb
Kernel version >= 2.6.27 check
...
Awesome tool! I learned about this from the LWN article and
immediately (stupidly) tried it out on a centos 5 host. Here is a
patch to add a kernel version check.
2009-04-30 20:04:20 -05:00
Matt Mackall
aab32ae9de
Add GPLv2+ license and copyright notice
2009-04-30 11:57:52 -05:00
Matt Mackall
91a412f622
Added tag 0.1 for changeset f168a8d93ec6
2009-04-07 15:17:19 -07:00
Matt Mackall
8adb875a88
catch keyboard interrupts
0.1
2009-04-07 15:14:11 -07:00
Matt Mackall
cd9a831067
Add x labels to bar chart
2009-04-07 15:10:28 -07:00
Matt Mackall
49fe263577
allow -c list, fix bar colors
2009-04-07 14:59:41 -07:00
Matt Mackall
983598c5b0
fix-ups for system view
2009-04-07 11:19:47 -07:00
Matt Mackall
90f16294c7
Add -w system reporting mode
2009-04-07 01:46:22 -07:00
Matt Mackall
88cd5c32e6
Add basic bar chart support
2009-04-07 00:24:39 -07:00
Matt Mackall
37546c5021
break pie chart into separate function
2009-04-06 23:19:46 -07:00
Matt Mackall
a7879677dd
add column help
2009-04-06 23:11:36 -07:00
Matt Mackall
589c0de53f
change count to pids in map view
2009-04-06 22:50:44 -07:00
Matt Mackall
000c1e0689
Add reading from alternate directory and tarball and example capture script
2009-04-06 22:48:01 -07:00
Matt Mackall
a7aa17b484
remove apss and friends, improve avgpss, add pids
2009-04-06 22:00:51 -07:00
Matt Mackall
8bb4790020
Basic pie chart support
2009-04-05 16:23:34 -05:00
Matt Mackall
40b49768d6
Abstract proc interface
2009-04-04 16:33:00 -05:00
Matt Mackall
d3d4c72f1f
Kill empty listings when using -M
2009-04-03 16:50:19 -05:00
Matt Mackall
37261bad86
Add filtering, and vss, avgpss, avguss, and avgrss for maps
2009-04-03 16:34:04 -05:00
Matt Mackall
75829efd67
Add map counts
2009-04-02 02:07:17 -05:00
Matt Mackall
4aacfb5a99
Add VSS, ARSS, AUSS, and APSS.
2009-04-01 21:25:13 -05:00
Matt Mackall
705ba5f79c
Add totalmem, --realmem, fromunits, and percentage output
2009-04-01 18:56:37 -05:00
Matt Mackall
7a4509a3c5
Add kernel thread filtering, unit display
2009-03-27 23:39:53 -05:00
Matt Mackall
9448f7cb2e
Add user view
2009-03-27 20:43:35 -05:00
Matt Mackall
09d7939030
Get maps view working
2009-03-27 13:10:36 -05:00
Matt Mackall
f411af9d30
Add some command line options
2009-03-26 17:14:49 -05:00
Matt Mackall
fdbec65a91
Add column and header logic
2009-01-30 12:27:06 -06:00
Matt Mackall
3e4d9a1305
Get rid of regexp bits
2009-01-29 18:21:50 -06:00
Matt Mackall
86cfff0bea
Start tracking
2009-01-28 14:13:13 -06:00