Odliczanie ukrywania.
This commit is contained in:
parent
02885c4a7e
commit
5b8018e121
5 changed files with 65 additions and 26 deletions
|
@ -8,3 +8,17 @@
|
|||
ocen madrosc %;\
|
||||
ocen odwage %;\
|
||||
powstan
|
||||
|
||||
/def -i pid_of = \
|
||||
/quote -S \
|
||||
/eval /let pid_czego=`"/@ps -r" %%;\
|
||||
/if (strstr({pid_czego},{*}) != -1) \
|
||||
/first %%{pid_czego} %%;\
|
||||
/endif
|
||||
/def rstart = \
|
||||
/if ($(/pid_of %{-2})=~NULL) \
|
||||
/repeat %{1} %{2} %{-2} %;\
|
||||
/endif
|
||||
|
||||
/def rstop = \
|
||||
/kill $(/pid_of %{*})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue