Timeline for How can I check if swap is active from the command line?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 2 at 19:00 | history | suggested | glacier | CC BY-SA 4.0 | `swapon -s` is deprecated in favor of `swapon --show` |
| May 1 at 17:46 | review | Suggested edits | |||
| S May 2 at 19:00 | |||||
| Jan 3 at 14:12 | comment | added | René Nyffenegger | In order to save a few keystrokes, cat /proc/meminfo | grep Swap can be abbreviated with grep Swap /proc/meminfo. | |
| Nov 29, 2023 at 20:55 | comment | added | Niko Fohr | The swapon -s (--summary) seems to be deprecated at least in util-linux 2.37.2. The swapon --show shows similar information. | |
| Apr 23, 2023 at 17:56 | comment | added | red-o-alf | use free -h for human readable sizes. | |
| Jun 11, 2019 at 4:09 | comment | added | Binar Web | cat /proc/meminfo should be cat /proc/meminfo | grep Swap | |
| May 28, 2013 at 10:31 | comment | added | user26112 | Also, free should tell you how much swap is available to your system. | |
| May 28, 2013 at 7:40 | history | edited | peterph | CC BY-SA 3.0 | formatting |
| Oct 22, 2011 at 21:13 | vote | accept | ptrcao | ||
| Oct 22, 2011 at 4:40 | history | answered | Tim Kennedy | CC BY-SA 3.0 |