Skip to content

Commit af1fcc4

Browse files
author
LVTTL
committed
add pressure script
1 parent fcf3e7e commit af1fcc4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pressure

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
while [ true ]
4+
do
5+
echo CPU
6+
cat /proc/pressure/cpu
7+
echo MEM
8+
cat /proc/pressure/memory
9+
echo IO
10+
cat /proc/pressure/io
11+
sleep 1
12+
tput cuu 8
13+
done

0 commit comments

Comments
 (0)