evolinux-base: Add swap column to htop and top
This commit is contained in:
parent
066baf3538
commit
2448168008
2
evolinux-base/files/htoprc
Normal file
2
evolinux-base/files/htoprc
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Force the SWAP column to the right of the CPU one
|
||||
fields=0 48 17 18 38 39 40 119 2 46 47 49 1
|
15
evolinux-base/files/topdefaultrc
Normal file
15
evolinux-base/files/topdefaultrc
Normal file
|
@ -0,0 +1,15 @@
|
|||
top's Config File (Linux processes with windows)
|
||||
Id:j, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=0
|
||||
Def fieldscur=ķ&')*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
|
||||
winflags=193844, sortindx=18, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
|
||||
summclr=1, msgsclr=1, headclr=3, taskclr=1
|
||||
Job fieldscur=(Ļ@<)*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
|
||||
winflags=193844, sortindx=0, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
|
||||
summclr=6, msgsclr=6, headclr=7, taskclr=6
|
||||
Mem fieldscur=<MBND34&'()*+,-./0125689FGHIJKLOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
|
||||
winflags=193844, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
|
||||
summclr=5, msgsclr=5, headclr=4, taskclr=5
|
||||
Usr fieldscur=)+,-./1234568;<=>?@ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
|
||||
winflags=193844, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
|
||||
summclr=3, msgsclr=3, headclr=2, taskclr=3
|
||||
Fixed_widest=0, Summ_mscale=1, Task_mscale=0, Zero_suppress=0
|
6
evolinux-base/tasks/htop.yml
Normal file
6
evolinux-base/tasks/htop.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Deploy htop configuration
|
||||
copy:
|
||||
src: htoprc
|
||||
dest: /etc/htoprc
|
||||
mode: "0644"
|
|
@ -129,3 +129,7 @@
|
|||
include_role:
|
||||
name: evolix/generate-ldif
|
||||
when: evolinux_generateldif_include | bool
|
||||
|
||||
- include: top.yml
|
||||
|
||||
- include: htop.yml
|
||||
|
|
7
evolinux-base/tasks/top.yml
Normal file
7
evolinux-base/tasks/top.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Deploy top configuration file
|
||||
copy:
|
||||
# The config format is unredable; ATM it only add the SWAP column
|
||||
src: htoprc
|
||||
dest: /etc/topdefaultrc
|
||||
mode: "0644"
|
Loading…
Reference in a new issue