Ad Widget

Collapse

confused by proc.mem returned value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chriso
    Junior Member
    • May 2010
    • 20

    #1

    confused by proc.mem returned value

    I am using Zabbix 1.8.2 on Solaris 10

    If I do a prstat to show top processes, I get:
    1321 co 22G 20G sleep 59 0 141:35:09 14% java/135
    1620 co 538M 518M sleep 59 0 19:42:37 0.4% java/30
    1276 co 782M 776M sleep 59 0 16:38:00 0.3% java/89
    1209 co 1156M 1129M sleep 59 0 7:31:46 0.2% java/51
    1579 co 559M 553M sleep 59 0 19:34:22 0.2% java/39
    1611 co 471M 458M sleep 59 0 13:01:01 0.1% java/33
    1234 co 645M 580M sleep 59 0 3:24:02 0.1% java/48
    1286 co 412M 402M sleep 59 0 0:37:55 0.0% java/36
    1632 co 587M 202M sleep 59 0 0:17:53 0.0% java/21

    These are all java processes. The fourth column is RSS (resident) memory.

    When I do a proc.mem(java), I get: 5842051072. I've tried setting my Units to b and B. I can't convert this value to anything reasonable. The proc.mem should return something around 25gig.

    Thanks for any help.
  • chriso
    Junior Member
    • May 2010
    • 20

    #2
    Well I'll just answer my own question. Based off this thread, proc.mem really doesn't return anything useful. RSS would be much more useful than VSZ.

    Comment

    • chriso
      Junior Member
      • May 2010
      • 20

      #3
      After some further research..PID 1321 from my first post:

      1321 co 22G 20G sleep 59 0 141:35:09 14% java/135

      ..is a 64 bit process. Apparently zabbix 32-bit cannot "read" a 64 bit process. Or...solaris is not letting zabbix use this value until I re-build zabbix for 64 bit.
      Last edited by chriso; 03-06-2010, 18:13.

      Comment

      Working...