You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'ps -eo pid,comm' sometimes starts with leading space so that vmem == 0
This happens when you have a lot of processes and varying number of digits per process.
Proposal:
In ydbdash.py: trim leading/trailing spaces with awk '{$1=$1};1'
'ps -eo pid,comm' sometimes starts with leading space so that vmem == 0
This happens when you have a lot of processes and varying number of digits per process.
Proposal:
In ydbdash.py: trim leading/trailing spaces with awk '{$1=$1};1'
while read proc;do cat "/proc/$proc/stat";done <<< "$(ps -eo pid,comm | grep yottadb | awk '{$1=$1};1' | cut -d ' ' -f 1)" | awk '{ vtot+=$23 } END { print vtot }'
The text was updated successfully, but these errors were encountered: