first commit

This commit is contained in:
Souti
2025-03-06 11:09:58 +01:00
commit 11f7d440ff
330 changed files with 38306 additions and 0 deletions

7
perf.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
while :
do
ps aux --sort=-%cpu | grep -v "watch" |awk -v date="$(date +%Y-%m-%d-"%H:%M:%S")" 'NR>1{if($3>30.0) if($10>"0:10")print date,$10,$2,$3,$11}' >>/tmp/perf.txt
sleep 10
done