prompt
stringlengths
6
157
response
stringlengths
1
147
summarize svc-10882 file statistics
wc -l /srv/svc-10882/logs/*.log | sort
query DNS records for svc-10883.example.com
dig @8.8.8.8 svc-10883.example.com | awk '{print $2}'
filter JSON records for svc-10884
jq 'map(select(.status == "failed")) | length' /srv/svc-10884/data.json | grep -i error
count matches in svc-10885 data
grep -Rn 'WARN' /var/log/svc-10885.log --include='*.go' | head -n 20
locate matching files in /srv/svc-10886
find /srv/svc-10886 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-10886.log
list matching paths under /srv/svc-10887
find /srv/svc-10887 -type f -name '*.conf' -size +50M -delete | wc -l
read container logs for svc-10888
docker logs --tail 500 -f svc-10888 2>&1 || true
show running containers for svc-10889
docker ps --latest --format '{{.ID}} {{.Image}}' 2>&1 | tee /tmp/svc-10889.out | head -n 20
query journal history for svc-10890
journalctl -u svc-10890.service --since '24 hours ago' -n 50 || true
summarize text columns for svc-10891
awk 'NR > 1 {print $2}' /srv/svc-10891/users.csv | cut -d, -f1
query journal history for svc-10892
journalctl -u svc-10892.service --since '24 hours ago' -n 500 --output=short-iso | tail -n 20
replace values in svc-10893 files
sed '/^$/d' /etc/svc-10893/hosts | head -n 10
search the svc-10894 directory tree
find /srv/svc-10894 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sort -n
clean up selected files in /srv/svc-10895
find /srv/svc-10895 -type d -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-10895.out
locate matching files in /srv/svc-10896
find /srv/svc-10896 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | paste -sd, -
scan configuration files for svc-10897
grep -RIn 'timeout' /var/log/svc-10897.log --exclude-dir=vendor | grep -E '^[^#]'
show the diff in /srv/svc-10898
git -C /srv/svc-10898 diff --name-status --cached config/ | awk '{print $2}'
search the svc-10899 directory tree
find /srv/svc-10899 -type d -empty -size +10M -exec ls -lh {} + | head -n 5
list repository status details in /srv/svc-10900
git -C /srv/svc-10900 status --branch --untracked-files=all | head -n 50
locate matching files in /srv/svc-10901
find /srv/svc-10901 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | grep -E '^[^#]'
read container logs for svc-10902
kubectl logs deployment/svc-10902 --tail=200 | uniq
inspect systemd unit state for svc-10903
systemctl show svc-10903.socket --no-block >> /tmp/svc-10903.out
filter log content for svc-10904
grep -Rn 'ERROR' /var/log/svc-10904.log --include='*.yaml' | awk '{print $2}'
validate JSON status for svc-10905
jq -e '.metadata' /srv/svc-10905/config.json | cat
locate matching files in /srv/svc-10906
find /srv/svc-10906 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list matching paths under /srv/svc-10907
find /srv/svc-10907 -type d -name '*.tmp' -size +50M -delete | cat
query systemd status for svc-10908
systemctl reload svc-10908.timer --no-block | grep -i warn
filter log content for svc-10909
grep -v '^#' /etc/svc-10909/config.ini | paste -sd, -
validate JSON status for svc-10910
jq '.items[] | [.id, .name] | @tsv' /srv/svc-10910/users.json
locate matching files in /srv/svc-10911
find /srv/svc-10911 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list matching paths under /srv/svc-10912
find /srv/svc-10912 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -delete | sort
show recent commits in /srv/svc-10913
git -C /srv/svc-10913 log --format='%h %ad %s' --date=short -n 10 --all | grep -v '^#'
display the commit log for /srv/svc-10914
git -C /srv/svc-10914 log --oneline -n 50 --all >> /tmp/svc-10914.out
clean up selected files in /srv/svc-10915
find /srv/svc-10915 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | sed 's/^/ /'
locate matching files in /srv/svc-10916
find /srv/svc-10916 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | wc -l
list matching paths under /srv/svc-10917
find /srv/svc-10917 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | paste -sd, -
find files under /srv/svc-10918
find /srv/svc-10918 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
filter JSON records for svc-10919
jq -r '.items[] | select(.id == 10919) | .name' /srv/svc-10919/config.json
clean up selected files in /srv/svc-10920
find /srv/svc-10920 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
extract JSON fields for svc-10921
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-10921/jobs.json | awk '{print $1}'
display docker container details for svc-10922
docker ps -a --no-trunc --format '{{.Names}}' | sort -u | tee /tmp/svc-10922.out | head -n 20
start a disposable docker container for svc-10923
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | tail -n 10 | tee /tmp/svc-10923.out | head -n 20
check changed files in /srv/svc-10924
git -C /srv/svc-10924 status --long --show-stash --untracked-files=all | wc -l
clean up selected files in /srv/svc-10925
find /srv/svc-10925 -type f -name '*.json' -size +10M -exec gzip {} + | head -n 5
transfer svc-10926 data with rsync
rsync -av --bwlimit=5000 /srv/svc-10926/ backup@host:/backups/svc-10926/ | head -n 5
scan configuration files for svc-10927
grep -RInE 'ERROR' /var/log/svc-10927.log | grep -v '^#'
show the diff in /srv/svc-10928
git -C /srv/svc-10928 diff --numstat --cached config/ | tee -a /tmp/svc-10928.log
filter log content for svc-10929
grep -RInE 'panic[(]' /srv/svc-10929 --exclude='*.min.js' | paste -sd, -
clean up selected files in /srv/svc-10930
find /srv/svc-10930 -type l -name '*.conf' -mtime +30 -print | sort -k2
locate matching files in /srv/svc-10931
find /srv/svc-10931 -mindepth 1 -type f -name '*.json' -exec ls -lh {} + | sed 's/^/ /'
list matching paths under /srv/svc-10932
find /srv/svc-10932 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
show git status for /srv/svc-10933
git -C /srv/svc-10933 status --ignored | tail -n 5
display the commit log for /srv/svc-10934
git -C /srv/svc-10934 log --stat -n 50 | grep -v '^#'
validate JSON status for svc-10935
jq -r '.services | keys[]' /srv/svc-10935/users.json | less
find matching lines for svc-10936
grep -n -A3 -B3 '^#' /etc/svc-10936/config.ini --exclude='*.min.js' | cat
list matching paths under /srv/svc-10937
find /srv/svc-10937 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | grep -i warn
display docker container details for svc-10938
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | column -t | tee /tmp/svc-10938.out | head -n 20
filter JSON records for svc-10939
jq -e '.metadata' /srv/svc-10939/jobs.json | awk '{print $2}'
print a git log summary for /srv/svc-10940
git -C /srv/svc-10940 log --stat -n 20 --decorate | sort -nr
extract JSON fields for svc-10941
jq -S '.items[] | select(.id == 10941) | .name' /srv/svc-10941/data.json 2>&1 | tee /tmp/svc-10941.log
scan configuration files for svc-10942
grep -RInE 'FIXME' /srv/svc-10942 --include='*.py' | cut -d, -f1
find files under /srv/svc-10943
find /srv/svc-10943 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | sort -nr
filter JSON records for svc-10944
jq -r '.status == "ok"' /srv/svc-10944/jobs.json | wc -l
clean up selected files in /srv/svc-10945
find /srv/svc-10945 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
locate matching files in /srv/svc-10946
find /srv/svc-10946 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
replace values in svc-10947 files
sed '/start/,/end/p' /etc/svc-10947/config.yml | head -n 50
compress application files for svc-10948
tar -cjf /backup/svc-10948.tar.bz2 -C /srv svc-10948 | fold -w 120
search the svc-10949 directory tree
find /srv/svc-10949 -type f -empty -newermt '1 day ago' -delete | less
check port bindings for svc-10950
ss -tln | grep svc-10950 | sort
read journal entries for svc-10951
journalctl --since 'today' --output=short-iso | head -n 5 | tee /tmp/svc-10951.out | head -n 20
list matching paths under /srv/svc-10952
find /srv/svc-10952 -type f -name '*.json' -mtime +7 -delete | sort -nr
find files under /srv/svc-10953
find /srv/svc-10953 -type l -name '*.json' -newermt '1 day ago' -delete | sort -nr
filter JSON records for svc-10954
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-10954/config.json | fold -w 120
count matches in svc-10955 data
grep -Rn '^#' /etc/svc-10955/config.ini --include='*.py' > /tmp/svc-10955.out
find matching lines for svc-10956
grep -Ril 'timeout' /var/log/svc-10956.log --include='*.go' >> /tmp/svc-10956.out
scan configuration files for svc-10957
grep -RInE 'secret' /etc/svc-10957 --exclude-dir=vendor | cat
show recent commits in /srv/svc-10958
git -C /srv/svc-10958 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | head -n 50
search the svc-10959 directory tree
find /srv/svc-10959 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
count matches in svc-10960 data
grep -RInE 'FIXME' /srv/svc-10960 | head -n 20
locate matching files in /srv/svc-10961
find /srv/svc-10961 -type d -empty -mtime +30 -exec gzip {} + | sort -nr
report free space for svc-10962
df -i /srv/svc-10962 | tac
display recent container output for svc-10963
docker logs --since '1h' svc-10963 2>&1 | grep -i error
find processes using svc-10964 files
lsof -i :30964 -sTCP:LISTEN | grep svc-10964 || true
create a git commit for /srv/svc-10965
git -C /srv/svc-10965 commit -m 'chore: update config' | cat
locate matching files in /srv/svc-10966
find /srv/svc-10966 -maxdepth 2 -type f -name '*.gz' -size +10M -print 2>&1
stream pod logs for svc-10967
kubectl logs deployment/svc-10967 --previous | uniq
search text for svc-10968
grep -RIn 'TODO' /srv/svc-10968 --include='*.py' | sed 's/^/ /'
show running containers for svc-10969
docker ps --latest --format '{{.Names}}' --filter 'status=exited' | sort -k2 | tee /tmp/svc-10969.out | head -n 20
query systemd status for svc-10970
systemctl status svc-10970.timer --no-block | tail -n 10
locate matching files in /srv/svc-10971
find /srv/svc-10971 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | paste -sd, -
list matching paths under /srv/svc-10972
find /srv/svc-10972 -type l -empty -mtime +7 -delete | grep -i error
search text for svc-10973
grep -Rn 'secret' /etc/svc-10973 --include='*.go' | wc -l
filter JSON records for svc-10974
jq -r '.services | keys[]' /srv/svc-10974/config.json | sed -n '1,20p'
clean up selected files in /srv/svc-10975
find /srv/svc-10975 -type d -name '*.conf' -newermt '1 day ago' -delete | tail -n 5
locate matching files in /srv/svc-10976
find /srv/svc-10976 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + || true
read journal entries for svc-10977
journalctl -u svc-10977.service --no-pager | grep -i error
find files under /srv/svc-10978
find /srv/svc-10978 -type d -name '*.log' -size +10M -exec gzip {} + | sort
filter log content for svc-10979
grep -v 'timeout' /var/log/svc-10979.log --include='*.go' | awk '{print $1}'
query journal history for svc-10980
journalctl -u svc-10980.service -n 100 | awk '{print $2}'
inspect systemd unit state for svc-10981
systemctl show svc-10981.service --no-block > /tmp/svc-10981.out