os_mon(7)

πŸ“¦
version 25.3.2.8 Β· 3 versions
, in ubuntu noble

πŸ’… os_mon β€” the OS Monitoring Application, bestie edition ✨

okay so you're here for os_mon(7), the Erlang Application Definition page for the OS Monitoring Application, and honestly? it's giving "your Erlang system's little sister who checks the vibes of the whole machine." 🫢 let's get into it.


🌸 NAME 🌸

os_mon β€” the OS Monitoring Application. periodt.


πŸŽ€ DESCRIPTION πŸŽ€

ok so the operating system monitor, OS_Mon, is literally out here providing these services for you:

  • cpu_sup β€” CPU load and utilization supervision (Unix) πŸ”₯
  • disksup β€” Disk supervision (Unix, Windows) πŸ’Ύ
  • memsup β€” Memory supervision (Unix, Windows) 🧠
  • os_sup β€” Interface to OS system messages (Solaris, Windows) πŸ“¨

now, the big-brain design choice, and honestly it's iconic: on distributed Erlang systems, trying to use a service at a node where it's not available is not considered an error. like, no drama, no crash, no screaming. and "not available" could mean any of these:

  • OS_Mon isn't running there at all
  • the service just isn't a thing for that OS
  • the service exists but isn't started

instead of exploding, it issues a warning message via error_logger 😭 and returns a dummy value. which dummy value, you ask? that's specified in the man pages for the respective services. iykyk. ✨


🌈 CONFIGURATION 🌈

when OS_Mon starts up, by default all the services available for your OS get automatically started β€” except os_sup, which is the shy one and stays off. πŸ™ˆ

you can change all of that with these application configuration parameters:

  • start_cpu_sup = bool() β€” Specifies if cpu_sup should be started. Defaults to true. πŸ’–
  • start_disksup = bool() β€” Specifies if disksup should be started. Defaults to true. πŸ’–
  • start_memsup = bool() β€” Specifies if memsup should be started. Defaults to true. πŸ’–
  • start_os_sup = bool() β€” Specifies if os_sup should be started. Defaults to false. πŸ’€

config parameters that affect the different OS_Mon services? those live in the respective man pages, so go read those bestie, i'm not about to steal their moment. πŸ‘‘

also!! for info about how to change the value of configuration parameters, go see config(5). no cap. πŸ¦‹

⭐ SEE ALSO ⭐


and that's the whole page, no crumbs left. πŸ’… this absolute banger of a manual page was brought to you by Ericsson AB, from os_mon version 2.8.2, and it's filed under os_mon(7). slay, go monitor some operating systems. πŸ‘‘βœ¨

πŸ“¦ where this page comes from