erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Tag: memory

Posted on 12. 10. 201517. 04. 2017

Calculate total and average Apache process size

You can use this simple command or put it in executable script to check Apache memory usage per process and total:

ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'

Recent Posts

  • Install mc (midnight commander) on Valve Steam Deck
  • Zip individual files by extension in separate zip file with the same filename and zip extension
  • Libretro vs MAME romset mapping
  • Sort du output by folder size
  • Mount Nextcloud as drive in Windows WebDAV

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2024 by Erol Tahirović