sge_share_mon(1)

πŸ’– sge_share_mon β€” bestie's guide to peeking at the live Grid Engine share tree πŸ’–

okay so real talk: this is sge_share_mon(1), a General Commands Manual girly, and she does exactly one thing and she does it beautifully. πŸŽ€


✨ NAME ✨

sge_share_mon β€” print Grid Engine live share tree 🌸


✨ SYNOPSIS ✨

sge_share_mon [-c count] [-d delimiter] [-f field,field...]  [-h] [-i
interval] [-l delimiter] [-m output_mode] [-n] [-o output_file] [-r
delimiter] [-s string_format] [-t] [-u] [-x]

✨ DESCRIPTION ✨

so sge_share_mon prints the live state of the Grid Engine share tree. like, the actual real-time situation. πŸ”₯

and bestie, notice what it is not: it's not qmon(1)'s static graphical view. qmon(1) is giving screenshot energy, sge_share_mon is giving livestream energy. different vibes entirely. πŸ’…

it does this for a given number of intervals β€” and the default is infinite, which, iconic honestly, she will just keep going forever until you tell her to stop. 😭 if you want just one lil peek instead, use -c 1 for a snapshot. πŸ“Έ


✨ OPTIONS ✨

  • -c count β€” print count collections (default is infinite, so like, forever, no cap).
  • -d delimiter β€” delimit output columns with the string delimiter (default is a tab).
  • -f field,... β€” print the given fields. the available fields, in their default order, are curr_time, usage_time, node_name, user_name, project_name, shares, job_count, level%, total%, long_target_share, short_target_share, actual_share, usage, cpu, mem, io, ltcpu, ltmem, ltio. pick your faves. 🫢
  • -h β€” print a header listing the field names. yes queen, label your columns. πŸ‘‘
  • -i interval β€” collect over interval seconds (default 15).
  • -l delimiter β€” delimit nodes output with the string delimiter (default is a carriage return).
  • -m output_mode β€” open output_file in fopen(3) mode output_mode (default w). the meaningful alternative is a, which appends to the file instead of overwriting it. πŸ“
  • -n β€” print in the form name=value.
  • -o output_file β€” print to file output_file (default is standard output).
  • -r delimiter β€” delimit collection records with the string delimiter (default is a carriage return).
  • -s string_format β€” printf(3)-style format for strings (default %s).
  • -t β€” show times formatted per ctime(3). (default is seconds since the epoch.) ⏰
  • -u β€” print decayed usage (since timestamp) in nodes.
  • -x β€” don't print non-leaf nodes. bye bye branches, only leaves stay. πŸƒ

✨ SEE ALSO ✨

fopen(3), printf(3), qmon(1), share_tree(5).


🫢 little reminder bestie: -c defaults to infinite and -i defaults to 15 seconds, so if you just run her raw she will sit there collecting every 15 seconds forever. use -c 1 when you want the snapshot, iykyk. πŸ’€

and that's the whole page!! 🌈 this lil angel is from the General Commands Manual, source/version date 2011-12-24 β€” vintage but still slaying, fr fr. go forth and monitor those shares, main character. πŸ’œπŸ¦‹βœ¨