XLOAD(1)
๐ XLOAD(1) โ the load average glow-up, bestie
okay so real talk, this is a page from the General Commands Manual, and the star of the show is literally called xload. It's giving "your terminal but make it a vibe graph." Let's get into it ๐ซถ
โจ NAME โจ
xload โ system load average display for X. yes bestie, it shows you the load average. on X. iconic behavior only.
๐ SYNOPSIS ๐
xload [-toolkitoption ...] [-scale integer] [-update seconds]
[-hl color] [-highlight color] [-remote host]
[-jumpscroll pixels] [-label string] [-nolabel] [-lights]
[-help|-version]
๐ธ DESCRIPTION ๐ธ
So xload displays a histogram of the system load average, and it updates periodically. That's the whole assignment. It's a little graph that goes brrr and tells you how hard your system is working. Obsessed honestly. ๐
๐ฆ OPTIONS ๐ฆ
xload accepts all of the standard X Toolkit command line options โ go check X(7) if you need the receipts. The order of the options is unimportant, so you can arrange them however your little heart desires. No cap.
On top of those, xload also accepts these extra ones:
-hlcolor or-highlightcolor โ tells you the color of the scale lines. yes, the scale lines. they get their own moment. ๐-jumpscrollpixels โ how many pixels the graph shifts to the left when it hits the right edge of the window. default?1/2the width of the current window. and if you want smooth scrolling, set it to1. periodt.-labelstring โ the string to put into the label above the load average. name your graph bestie, it deserves it.-nolabelโ if you pass this, no label will be displayed above the load graph. minimalism era. โจ-lightsโ okay this one is a whole serve: it makesxloaddisplay the current load average using the keyboard leds. for a load average of n,xloadlights the first n keyboard leds. and yeah, this option turns off the usual screen display. keyboard-led main character energy fr fr.-scaleinteger โ the minimum number of tick marks in the histogram, where one division represents one load average point. if the load goes above this number,xloadwill create more divisions, but it will never use fewer than this number. default is1.-updateseconds โ the interval in seconds at whichxloadupdates its display. the minimum amount of time allowed between updates is1second. default is10. slow and steady wins the race ig ๐-remotehost โ tellsxloadto display the load of host instead of localhost. it gets this info from therwhoddatabase, and consequently requiresrwhodto be executing both on localhost and on host. no rwhod, no graph, that's the rule ๐-helpโ print a usage message and exit. cute and helpful.-versionโ print version info and exit. also cute, also helpful.
๐ RESOURCES ๐
Besides all the resources available to each of the widgets xload uses, there's exactly one resource defined by the application itself:
๐ showLabel (class Boolean)
If False, then no label will be displayed. that's it. that's the resource.
๐ง WIDGETS ๐ง
okay so if you want to specify resources, it's useful to know the hierarchy of the widgets that compose xload. in the notation below, indentation = hierarchical structure. the widget class name comes first, followed by the widget instance name. slay.
XLoad xload
Paned paned
Label label
StripChart load
look at that family tree. beautiful. ๐
๐ ENVIRONMENT ๐
DISPLAYโ to get the default host and display number.XENVIRONMENTโ to get the name of a resource file that overrides the global resources stored in theRESOURCE_MANAGERproperty.
๐ FILES ๐
/usr/share/X11/app-defaults/XLoadโ specifies required resources. it's giving "the blueprint."
โญ SEE ALSO โญ
X(7), xrdb(1), mem(4), Athena StripChart Widget.
go read them, they're like the extended universe. iykyk.
๐ BUGS ๐
okay so there's some vintage chaos here, don't panic:
- On older platforms, this program may require the ability to open and read the special system file
/dev/kmem. Sites that do not allow general access to this file may need to makexloadbelong to the same group as/dev/kmemand turn on the set group id permission flag.
โ ๏ธ real talk: that's the documented workaround, not a vibe suggestion. proceed with the appropriate caution bestie.
- Reading the load average is inherently non-portable. Therefore, the routine used to read it (
get_load.c) must be ported to each new operating system. yeah. every new OS. it's a whole thing. ๐ญ
๐ฅ AUTHORS ๐ฅ
K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS); with features added by Jim Gettys (MIT-Athena), Bob Scheifler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris Peterson (MIT-LCS).
legends, honestly. all of them. ๐ซถ
๐ the cute sign-off ๐
and that's the page! this lovely little thing comes from X Version 11, and it's xload 1.2.0. go forth and watch your load average like the main character you are. bye bestie, mwah ๐
โจ๐
๐ฆ where this page comes from
- fedora 43: xload 1.2.0-4.fc43 ยท X11
- fedora 44: xload 1.2.0-5.fc44 ยท X11
- opensuse-leap 16.0: xload 1.2.0-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xload 1.2.0-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xload 1.2.0-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xload 1.2.0-bp160.1.12 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms