Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory percentage reported as NaN #5

Closed
danthegoodman opened this issue Jun 9, 2014 · 5 comments
Closed

Memory percentage reported as NaN #5

danthegoodman opened this issue Jun 9, 2014 · 5 comments

Comments

@danthegoodman
Copy link

One of my programs consumes a massive amount of memory. For some reason, this gets reported as "NaN". Furthermore, the leading process character get chopped off of the process name.

screen shot 2014-06-09 at 12 15 56 pm

@MrRio
Copy link
Owner

MrRio commented Jun 9, 2014

Thanks for the bug report. Can you send me the output of this command:

ps -ewwwo %cpu,%mem,comm

@danthegoodman
Copy link
Author

Sure. Some of the programs running at this point are different, but I was experiencing the same issue.

 %CPU %MEM COMM
  0.0  0.0 /sbin/launchd
  0.0  0.0 /usr/libexec/UserEventAgent
  0.0  0.0 /usr/libexec/kextd
  0.0  0.0 /usr/libexec/taskgated
  0.0  0.0 /usr/sbin/securityd
  0.0  0.0 /usr/sbin/notifyd
  0.0  0.0 /System/Library/CoreServices/powerd.bundle/powerd
  0.0  0.0 /usr/libexec/diskarbitrationd
  0.0  0.0 /usr/libexec/configd
  0.0  0.0 /usr/sbin/syslogd
  0.0  0.0 /usr/sbin/distnoted
  0.0  0.0 /usr/libexec/opendirectoryd
  0.0  0.0 com.apple.authd
  0.0  0.0 /System/Library/CoreServices/coreservicesd
  0.0  0.0 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Support/fseventsd
  0.0  0.0 /usr/libexec/usbd
  0.0  0.9 /usr/libexec/networkd
  0.0  0.0 /usr/sbin/mDNSResponder
  0.0  0.0 /usr/libexec/networkd_privileged
  0.0  0.0 /usr/sbin/blued
  0.0  0.0 /usr/libexec/wdhelper
  0.0  0.0 /usr/libexec/warmd
  0.0  0.0 /usr/libexec/stackshot
  0.0  0.0 /System/Library/CoreServices/SleepServicesD
  0.0  0.0 /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond
  0.0  0.4 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds
  0.0  0.3 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
  0.0  0.0 /System/Library/CoreServices/logind
  0.0  0.0 /usr/libexec/locationd
  0.0  0.0 /usr/libexec/hidd
  0.0  0.0 /sbin/dynamic_pager
  0.0  0.0 /usr/libexec/displaypolicyd
  0.0  0.0 /usr/libexec/corestoraged
  0.0  0.1 /System/Library/CoreServices/launchservicesd
  0.0  0.0 /System/Library/CoreServices/appleeventsd
  0.0  0.0 autofsd
  0.0  0.0 /System/Library/PrivateFrameworks/ApplePushService.framework/apsd
  0.0  0.0 /usr/libexec/airportd
  0.0  0.0 /usr/sbin/KernelEventAgent
  0.0  0.0 /usr/libexec/aosnotifyd
  1.7  1.7 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer
  0.4  0.0 sysmond
  0.0  0.8 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores
  0.0  0.0 com.apple.systemadministration.writeconfig
  0.0  0.0 /sbin/launchd
  0.0  0.0 /usr/sbin/distnoted
  0.0  0.0 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer
  0.0  0.0 com.apple.CodeSigningHelper
  0.0  0.0 /System/Library/PrivateFrameworks/TCC.framework/Resources/tccd
  0.0  0.0 /System/Library/PrivateFrameworks/FindMyMac.framework/Resources/FindMyMacd
  0.0  0.0 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd
  0.0  0.0 /System/Library/PrivateFrameworks/Heimdal.framework/Helpers/kdc
  0.0  0.0 /usr/sbin/coreaudiod
  0.0  0.0 com.apple.audio.DriverHelper
  0.0  0.0 com.apple.audio.SandboxHelper
  0.0  0.0 com.apple.IASUtilities.IASCloudConfigHelper
  0.0  0.1 /System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated
  0.0  0.0 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Resources/suhelperd
  0.0  0.0 com.apple.InputMethodKit.UserDictionary
  0.0  0.0 /sbin/launchd
  0.0  0.0 /usr/sbin/distnoted
  0.0  0.0 /usr/sbin/filecoordinationd
  0.0  0.0 /usr/libexec/systemstatsd
  0.0  0.0 corestoragehelperd
  0.0  0.0 (userInit)
  0.0  0.0 /sbin/launchd
  0.0  0.0 /System/Library/CoreServices/AppleIDAuthAgent
  0.0  0.1 /usr/sbin/distnoted
  0.0  0.0 /usr/libexec/securityd_service
  0.0  0.0 /usr/libexec/secd
  0.0  0.0 /System/Library/Frameworks/Security.framework/Versions/A/Resources/CloudKeychainProxy.bundle/Contents/MacOS/CloudKeychainProxy
  0.0  0.0 /System/Library/PrivateFrameworks/TCC.framework/Resources/tccd
  0.0  0.1 com.apple.IconServicesAgent
  0.0  0.0 com.apple.NotesMigratorService
  0.0  0.0 com.apple.HasTRB
  0.0  0.0 /usr/libexec/sandboxd
  0.0  0.0 /System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd
  0.0  0.0 /System/Library/PrivateFrameworks/CloudServices.framework/Resources/com.apple.sbd
  0.0  0.0 /usr/libexec/UserEventAgent
  0.0  0.0 /usr/sbin/usernoted
  0.0  0.1 /System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent
  0.0  0.0 /usr/sbin/pboard
  0.0  0.3 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
  0.0  0.1 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer
  0.0  0.8 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
  0.0  0.0 /usr/libexec/sharingd
  0.0  0.0 /usr/libexec/librariand
  0.0  0.1 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd
  0.0  0.0 /usr/libexec/WiFiKeychainProxy
  0.0  0.0 /System/Library/PrivateFrameworks/MessagesKit.framework/Resources/soagent.app/Contents/MacOS/soagent
  0.0  0.1 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter
  0.0  0.0 /System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent
  0.0  0.0 /System/Library/PrivateFrameworks/IDSCore.framework/identityservicesd.app/Contents/MacOS/identityservicesd
  0.0  0.0 /System/Library/CoreServices/AppleIDAuthAgent
  0.0  0.0 /System/Library/CoreServices/SocialPushAgent.app/Contents/MacOS/SocialPushAgent
  0.0  0.0 /usr/libexec/lsboxd
  0.0  0.0 com.apple.imdpersistence.IMDPersistenceAgent
  0.0  0.0 /System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd
  0.0  0.0 /System/Library/CoreServices/pbs
  0.0  0.0 com.apple.ShareKitHelper
  0.0  0.0 com.apple.internetaccounts
  0.0  0.1 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeagent
  0.0  0.1 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/bookstoreagent
  0.0  0.0 /System/Library/Frameworks/GameKit.framework/Versions/A/Resources/gamed
  0.0  0.0 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper
  0.0  0.0 com.apple.dock.extra
  0.0  0.0 /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd
  0.0  0.0 /System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell
  0.0  0.0 com.apple.InputMethodKit.UserDictionary
  0.0  0.0 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent
  0.0  0.1 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter
  0.0  0.0 /System/Library/CoreServices/ScopedBookmarkAgent
  0.0  0.0 /usr/libexec/syspolicyd
  0.0  0.0 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd
  0.0  0.0 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter
  0.0  0.0 /System/Library/PrivateFrameworks/KerberosHelper/Helpers/DiskUnmountWatcher
  0.0  0.0 /Applications/Postgres.app/Contents/MacOS/Postgres
  0.0  0.0 com.postgresapp.postgres-service
  0.0  0.0 /Applications/Postgres.app/Contents/Versions/9.3/bin/postgres
  0.4  0.8 postgres: checkpointer process
  0.1  0.4 postgres: writer process
  0.5  0.0 postgres: wal writer process
  0.0  0.0 postgres: autovacuum launcher process
  0.0  0.0 postgres: stats collector process
  0.0  0.0 /usr/libexec/pacemaker
  0.0  0.0 /usr/libexec/USBAgent
  0.0  0.0 /System/Library/CoreServices/Keychain Circle Notification.app/Contents/MacOS/Keychain Circle Notification
  0.0  0.0 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Versions/A/printtool
  0.0  0.0 com.apple.IconServicesAgent
  0.0  0.0 /sbin/launchd
  0.0  0.0 /usr/sbin/distnoted
  0.0  0.0 /Library/PrivilegedHelperTools/com.oracle.java.JavaUpdateHelper
  0.0  0.9 /usr/sbin/systemstats
  0.0  0.0 /usr/sbin/ntpd
  0.0  0.0 com.apple.DataDetectorsDynamicData
  0.0  0.0 /System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension
  0.0  0.0 /usr/libexec/xpcd
  0.0  0.0 com.apple.menuextra.airport.keychainproxy
  0.0  0.0 /System/Library/Frameworks/InputMethodKit.framework/Resources/imklaunchagent
 14.8  1.3 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  1.0  1.1 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.0 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd
  0.0  0.0 /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
  0.0  0.0 /usr/sbin/netbiosd
  0.0  0.9 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.3 /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
  0.0  0.1 /Applications/Sublime Text.app/Contents/MacOS/plugin_host
  0.0  0.7 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.0 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/maspushagent
  0.0  0.0 com.apple.appstore.PluginXPCService
  0.0  0.2 /Applications/Growl.app/Contents/MacOS/Growl
  0.0  0.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/XPCServices/com.apple.speech.speechsynthesisd.xpc/Contents/MacOS/com.apple.speech.speechsynthesisd
  0.0  0.0 com.apple.audio.SandboxHelper
  0.0  0.0 com.apple.audio.ComponentHelper
  0.0  0.0 com.apple.AppSandboxSMLoginItemEnabler
  0.0  0.0 com.apple.hiservices-xpcservice
  0.0  0.0 /usr/sbin/cfprefsd
  0.0  0.0 /usr/sbin/cfprefsd
  0.0  0.0 /Users/myuser/Library/Application Support/Spotify/SpotifyWebHelper
  0.0  0.0 /usr/libexec/spindump_agent
  0.0  0.1 /Applications/TextEdit.app/Contents/MacOS/TextEdit
  0.0  0.4 /Applications/Preview.app/Contents/MacOS/Preview
  0.0  0.0 com.apple.Preview.TrustedBookmarksService
  0.5  7.4 /Applications/IntelliJ IDEA 13.app/Contents/MacOS/idea
  0.0  0.0 /Applications/IntelliJ IDEA 13.app/bin/fsnotifier
  0.0  0.6 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
  0.0  0.1 /Applications/KeyRemap4MacBook.app/Contents/MacOS/KeyRemap4MacBook
  0.0  0.0 /usr/local/opt/mongodb/bin/mongod
  0.0  0.0 /usr/bin/ssh-agent
  0.0  0.0 /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper
  0.0  0.0 /System/Library/PrivateFrameworks/CommerceKit.framework/Resources/LaterAgent.app/Contents/MacOS/LaterAgent
  0.0  0.0 /usr/libexec/xpcd
  0.0  0.0 /usr/libexec/xpcd
  0.0  0.0 /usr/sbin/ocspd
  0.0  0.3 /Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor
  0.0  0.0 com.apple.hiservices-xpcservice
  2.8  0.8 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.1 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.1 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker
  0.0  0.1 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker
  0.0  0.1 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker
  0.0  0.1 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker
 95.7  0.8 postgres: myuser mydb 127.0.0.1(64302) BIND
 90.3  0.8 postgres: myuser mydb 127.0.0.1(64303) INSERT
  0.0  0.0 com.apple.BKAgentService
  0.0  0.0 /System/Library/PrivateFrameworks/CloudServices.framework/Resources/EscrowSecurityAlert.app/Contents/MacOS/EscrowSecurityAlert
  0.0  0.0 /usr/libexec/periodic-wrapper
  0.0  0.2 /Applications/Alfred 2.app/Contents/MacOS/Alfred 2
  0.0  0.0 /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd
  0.0  0.0 tmux
 12.6  1.7 /Users/myuser/Applications/iTerm.app/Contents/MacOS/iTerm
  0.0  0.0 /System/Library/PrivateFrameworks/UniversalAccess.framework/Versions/A/Resources/universalAccessAuthWarn.app/Contents/MacOS/universalAccessAuthWarn
  0.7  1.0 /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
  0.0  0.7 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.1 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.2 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.1 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.5 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.2 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.0 /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/Resources/AppleCameraAssistant
  0.0  0.0 /usr/sbin/aslmanager
  0.0  0.0 /usr/sbin/aslmanager
  0.0  0.0 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper NP.app/Contents/MacOS/Google Chrome Helper NP
  0.1  0.7 /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper
  0.0  0.0 /usr/libexec/periodic-wrapper
  0.0  0.0 /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd
  0.0  0.1 /Users/myuser/Applications/Spectacle.app/Contents/MacOS/Spectacle
  0.0  0.0 /usr/local/bin/bash
  0.0  1.6 /Library/Java/JavaVirtualMachines/jdk1.7/Contents/Home/bin/java
  5.5 13.2 /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/bin/java
  0.0  0.0 -bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 /usr/local/bin/bash
  0.0  1.6 /Library/Java/JavaVirtualMachines/jdk1.7/Contents/Home/bin/java
 31.8 11.0 /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/bin/java
  0.0  0.0 /usr/local/bin/bash
 11.1  0.4 node
  0.0  0.0 /usr/local/bin/bash
  0.0  0.0 ps

@duckinator
Copy link

I'm encountering the same issue.

Output of ps -ewwwo %cpu,%mem,comm: http://sprunge.us/AEYM

screenshot-vtop pts-0

@MrRio MrRio closed this as completed in fac5e78 Jun 10, 2014
@MrRio
Copy link
Owner

MrRio commented Jun 10, 2014

Thanks for your help on this guys, the output was very useful.

@MrRio
Copy link
Owner

MrRio commented Jun 10, 2014

This is now fixed in vtop@0.1.7 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants