prompt
stringlengths
6
157
response
stringlengths
1
147
restart svc-11882 by signaling its workers
pkill -USR1 -f svc-11882 > /tmp/svc-11882.out
show running containers for svc-11883
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | head -n 50 | tee /tmp/svc-11883.out | head -n 20
search the svc-11884 directory tree
find /srv/svc-11884 -type d -name '*.gz' -mtime +30 -print | cat
print a git log summary for /srv/svc-11885
git -C /srv/svc-11885 log --format='%h %ad %s' --date=short -n 100 --grep='fix' | tail -n 50
compare revisions in /srv/svc-11886
git -C /srv/svc-11886 diff --name-only config/ | head -n 5
list matching paths under /srv/svc-11887
find /srv/svc-11887 -type d -empty -mtime +30 -print | head -n 50
find files under /srv/svc-11888
find /srv/svc-11888 -type d -name '*.log' -newermt '1 day ago' -print | head -n 10
list changed files in /srv/svc-11889
git -C /srv/svc-11889 diff --color-words --cached -- | cut -d: -f1
clean up selected files in /srv/svc-11890
find /srv/svc-11890 -type l -name '*.gz' -mtime +7 -print | uniq
locate matching files in /srv/svc-11891
find /srv/svc-11891 -type f -name '*.json' -mtime +7 -exec gzip {} + | grep -i warn
install svc-11892 from source
make -C /srv/svc-11892 install | tr -s ' '
find files under /srv/svc-11893
find /srv/svc-11893 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | sort -k2
list changed files in /srv/svc-11894
git -C /srv/svc-11894 diff --check HEAD~1 | grep -v '^#'
validate JSON status for svc-11895
jq -c '.items[] | select(.id == 11895) | .name' /srv/svc-11895/health.json 2>&1
query systemd status for svc-11896
systemctl is-active svc-11896.service --no-block | head -n 20
list matching paths under /srv/svc-11897
find /srv/svc-11897 -type f -name '*.gz' -size +10M -exec gzip {} + | wc -l
find files under /srv/svc-11898
find /srv/svc-11898 -type l -name '*.log' -mtime +30 -print | sort -nr
summarize text columns for svc-11899
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-11899/metrics.txt | fold -w 120
clean up selected files in /srv/svc-11900
find /srv/svc-11900 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + >> /tmp/svc-11900.out
inspect running tasks for svc-11901
ps -eo pid,lstart,cmd | grep svc-11901 | sort -n
execute a container task for svc-11902
docker run --rm -it -v /srv/svc-11902/logs:/logs:ro busybox:1.36 df -h | head -n 50
find files under /srv/svc-11903
find /srv/svc-11903 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
search the svc-11904 directory tree
find /srv/svc-11904 -type l -name '*.conf' -delete 2>/dev/null
clean up selected files in /srv/svc-11905
find /srv/svc-11905 -type l -name '*.json' -mtime +7 -exec gzip {} + | cat
check path selection for svc-11906.example.com
ip route get svc-11906.example.com uid 1000 | cut -d, -f1
scan configuration files for svc-11907
grep -c 'TODO' /srv/svc-11907 > /tmp/svc-11907.out
find files under /srv/svc-11908
find /srv/svc-11908 -mindepth 1 -type f -name '*.gz' -delete | tail -n 20
display the commit log for /srv/svc-11909
git -C /srv/svc-11909 log --oneline -n 20 --all | fold -w 120
clean up svc-11910 text files
sed -i 's/^#*Port .*/Port 31910/' /etc/svc-11910/sshd_config | sort -u
locate matching files in /srv/svc-11911
find /srv/svc-11911 -type f -name '*.log' -size +50M -exec gzip {} + | head -n 20
list matching paths under /srv/svc-11912
find /srv/svc-11912 -type f -name '*.conf' -mtime +7 -print | grep -i warn
show git status for /srv/svc-11913
git -C /srv/svc-11913 status --porcelain=v2 --show-stash --untracked-files=normal | uniq
filter log content for svc-11914
grep -Rn 'panic[(]' /srv/svc-11914 --exclude-dir=vendor | cut -d: -f1
summarize text columns for svc-11915
awk -F, 'NR > 1 {print $2}' /srv/svc-11915/users.csv | sort -k2
clean up svc-11916 text files
sed -i.bak 's/^#*Port .*/Port 31916/' /etc/svc-11916/sshd_config | cat
start a disposable docker container for svc-11917
docker run --rm -v /srv/svc-11917:/data alpine:3.20 du -sh /data | sed -n '1,20p'
find files under /srv/svc-11918
find /srv/svc-11918 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | less
display the commit log for /srv/svc-11919
git -C /srv/svc-11919 log --stat -n 10
print a git log summary for /srv/svc-11920
git -C /srv/svc-11920 log --graph --oneline -n 100 --all >> /tmp/svc-11920.out
locate matching files in /srv/svc-11921
find /srv/svc-11921 -type d -empty -newermt '1 day ago' -print > /tmp/svc-11921.out
diagnose routing to svc-11922.example.com
traceroute -n -m 10 svc-11922.example.com | sed 's/^/ /'
show git status for /srv/svc-11923
git -C /srv/svc-11923 status --porcelain=v1 --branch | grep -i error
filter log content for svc-11924
grep -n -A3 -B3 'timeout' /var/log/svc-11924.log --exclude='*.min.js' | uniq
count matches in svc-11925 data
grep -Ril 'secret' /etc/svc-11925 --include='*.yaml' >> /tmp/svc-11925.out
display docker container details for svc-11926
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-11926' 2>&1 | tee /tmp/svc-11926.log
scan configuration files for svc-11927
grep -RInE 'WARN' /var/log/svc-11927.log --exclude='*.min.js' | tail -n 50
find files under /srv/svc-11928
find /srv/svc-11928 -type f -name '*.json' -mtime +7 -print | grep -i warn
search the svc-11929 directory tree
find /srv/svc-11929 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
install svc-11930 from source
make -C /srv/svc-11930 test | cat
find matching lines for svc-11931
grep -v 'secret' /etc/svc-11931 --exclude-dir=vendor | head -n 20
list matching paths under /srv/svc-11932
find /srv/svc-11932 -maxdepth 2 -type f -name '*.gz' -size +50M -exec gzip {} + | head -n 20
find files under /srv/svc-11933
find /srv/svc-11933 -type f -name '*.json' -size +10M -delete | uniq
filter log content for svc-11934
grep -v 'WARN' /var/log/svc-11934.log --include='*.yaml' 2>&1 | tee /tmp/svc-11934.log
clean up selected files in /srv/svc-11935
find /srv/svc-11935 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-11935.out
clean up svc-11936 text files
sed -i '1,120p' /var/log/svc-11936.log | paste -sd, -
inspect systemd unit state for svc-11937
systemctl is-active svc-11937.socket | sort -k2
find files under /srv/svc-11938
find /srv/svc-11938 -type f -name '*.tmp' -size +50M -delete > /tmp/svc-11938.out
create a git commit for /srv/svc-11939
git -C /srv/svc-11939 commit -am 'refactor: simplify parser' --signoff
read container logs for svc-11940
docker logs --since '1h' -f svc-11940 2>&1 >> /tmp/svc-11940.out
locate matching files in /srv/svc-11941
find /srv/svc-11941 -type l -name '*.gz' -mtime +7 -delete | head -n 5
scan configuration files for svc-11942
grep -RIn 'panic[(]' /srv/svc-11942 --include='*.py' | sed -n '1,20p'
search text for svc-11943
grep -Ril 'panic[(]' /srv/svc-11943 | tac
search the svc-11944 directory tree
find /srv/svc-11944 -type f -empty -delete 2>&1
read journal entries for svc-11945
journalctl --since '1 hour ago' -u svc-11945.service --output=short-iso | tee -a /tmp/svc-11945.log
query systemd status for svc-11946
systemctl stop svc-11946.socket --no-pager | awk '{print $2}'
list matching paths under /srv/svc-11947
find /srv/svc-11947 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
show git status for /srv/svc-11948
git -C /srv/svc-11948 status --porcelain=v2 --ignored --untracked-files=all | wc -l
filter JSON records for svc-11949
jq -e '.users[] | select(.active == true) | .email' /srv/svc-11949/config.json | tac
clean up selected files in /srv/svc-11950
find /srv/svc-11950 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | grep -i error
list git history for /srv/svc-11951
git -C /srv/svc-11951 log --format='%h %ad %s' --date=short -n 100 --all | tac
display docker container details for svc-11952
docker ps --latest --filter 'status=exited' | tr -s ' ' | tee /tmp/svc-11952.out | head -n 20
show recent commits in /srv/svc-11953
git -C /srv/svc-11953 log --name-status -n 100 --since='1 week ago' | tee /tmp/svc-11953.out
process log fields for svc-11954
awk -F'\t' '{print $1}' /etc/passwd | column -t | tee /tmp/svc-11954.out | head -n 20
clean up selected files in /srv/svc-11955
find /srv/svc-11955 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-11955.out
extract JSON fields for svc-11956
jq -c '.items[] | .name' /srv/svc-11956/data.json | fold -w 120
scan configuration files for svc-11957
grep -RIn 'TODO' /srv/svc-11957 --include='*.yaml' | sort
find processes using svc-11958 files
lsof -c svc-11958 | sort -n
show directory sizes for svc-11959
du -sh /srv/svc-11959/config 2>&1 | tee /tmp/svc-11959.log
count cron jobs for svc-11960
crontab -l | grep svc-11960 | tail -n 20 | uniq -c
locate matching files in /srv/svc-11961
find /srv/svc-11961 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
verify a network port for svc-11962
nc -zv -w 2 svc-11962.example.com 31962 2>&1 | tee /tmp/svc-11962.log
inspect network hops for svc-11963.example.com
traceroute -T -p 31963 svc-11963.example.com | wc -l
search the svc-11964 directory tree
find /srv/svc-11964 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | tail -n 10
count matches in svc-11965 data
grep -RInE 'ERROR' /var/log/svc-11965.log --include='*.go' 2>&1
locate matching files in /srv/svc-11966
find /srv/svc-11966 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | head -n 20
scan configuration files for svc-11967
grep -Rn 'panic[(]' /srv/svc-11967 --include='*.yaml' | tac
query JSON data for svc-11968
jq '.items[] | .name' /srv/svc-11968/config.json | grep -v '^#'
filter JSON records for svc-11969
jq '.metadata' /srv/svc-11969/users.json || true
clean up selected files in /srv/svc-11970
find /srv/svc-11970 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
compare revisions in /srv/svc-11971
git -C /srv/svc-11971 diff --numstat --cached | grep -E '^[^#]'
list matching paths under /srv/svc-11972
find /srv/svc-11972 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | grep -i error
find files under /srv/svc-11973
find /srv/svc-11973 -type d -empty -size +50M -exec gzip {} + | sort
list changed files in /srv/svc-11974
git -C /srv/svc-11974 diff --name-status | awk '{print $2}'
clean up selected files in /srv/svc-11975
find /srv/svc-11975 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | fold -w 120
find matching lines for svc-11976
grep -Ril 'ERROR' /var/log/svc-11976.log --include='*.go' | nl -ba
inspect pending changes in /srv/svc-11977
git -C /srv/svc-11977 diff --check HEAD~1 config/ | head -n 5
search text for svc-11978
grep -RInE 'timeout' /var/log/svc-11978.log --exclude='*.min.js' | uniq -c
inspect running tasks for svc-11979
ps -p $(pgrep -f svc-11979) -o pid,cmd | grep -i warn
clean up selected files in /srv/svc-11980
find /srv/svc-11980 -type f -name '*.tmp' -delete | tr -s ' '
inspect running tasks for svc-11981
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-11981 | uniq -c