mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
Update topterm9.sh
This commit is contained in:
parent
747e46db3d
commit
6f37fd1891
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
result=$(ps ax |awk '/tty9/ {print }' |grep -c top)
|
result=$(ps ax |awk '/tty9/ {print $5}' |grep -c top)
|
||||||
|
|
||||||
if [ $result -eq 0 ]; then
|
if [ $result -eq 0 ]; then
|
||||||
# open top on vt9
|
# open top on vt9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user