Swap: Difference between revisions
Phanirithvij (talk | contribs) swapspace additional info |
Phanirithvij (talk | contribs) warning for example |
||
| Line 71: | Line 71: | ||
See your active swap partitions/files with `swapon`. For eg. | See your active swap partitions/files with `swapon`. For eg. | ||
{{warning|Do not run the following without swapspace active + 40GB free disk space OR if you have 40GB ram to spare.}} | |||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
$ nix shell nixpkgs#stress.out -c stress --vm | # Read the WARNING above | ||
$ # nix shell nixpkgs#stress.out -c stress --vm 1 --vm-bytes 20G | |||
$ swapon | $ swapon | ||
NAME TYPE SIZE USED PRIO | NAME TYPE SIZE USED PRIO | ||