File: imem

package info (click to toggle)
trend 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 256 kB
  • sloc: cpp: 1,892; perl: 110; makefile: 45; sh: 14
file content (9 lines) | stat: -rwxr-xr-x 137 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# print out memory usage using PCP

# sleep time
sec="$1"
[ -z "$sec" ] && sec=1

# get the data
pmval -t "$sec" mem.util.user