prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-03782
jq -r '.items[] | .name' /srv/svc-03782/data.json | sort -nr
find files under /srv/svc-03783
find /srv/svc-03783 -type d -name '*.conf' -size +50M -delete
query journal history for svc-03784
journalctl -u svc-03784.service -n 100 -f | cut -d, -f1
inspect routing for svc-03785.example.com
ip route get svc-03785.example.com | less
find matching lines for svc-03786
grep -n -A3 -B3 'secret' /etc/svc-03786 --include='*.go' | sed -n '1,20p'
list matching paths under /srv/svc-03787
find /srv/svc-03787 -mindepth 1 -type f -empty -newermt '1 day ago' -print | cut -d, -f1
show the diff in /srv/svc-03788
git -C /srv/svc-03788 diff --name-only origin/main...HEAD 2>/dev/null
search the svc-03789 directory tree
find /srv/svc-03789 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
validate JSON status for svc-03790
jq 'map(select(.status == "failed")) | length' /srv/svc-03790/config.json | tac
locate matching files in /srv/svc-03791
find /srv/svc-03791 -type d -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-03791.log
assign svc-03792 files to the service user
chown -R root:root /etc/svc-03792 | sed 's/^/ /'
read journal entries for svc-03793
journalctl -u svc-03793.service --until '1 hour ago' --output=short-iso | sort -u
search the svc-03794 directory tree
find /srv/svc-03794 -maxdepth 2 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
download svc-03795 data with curl
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:23795/svc-03795/health | sort
list git history for /srv/svc-03796
git -C /srv/svc-03796 log --oneline -n 50 --grep='fix' | sort -nr
inspect branch and file status for /srv/svc-03797
git -C /srv/svc-03797 status | uniq
query JSON data for svc-03798
jq -S '.services | keys[]' /srv/svc-03798/config.json | wc -l
search the svc-03799 directory tree
find /srv/svc-03799 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-03800
find /srv/svc-03800 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | sed 's/^/ /'
locate matching files in /srv/svc-03801
find /srv/svc-03801 -type l -name '*.log' -exec ls -lh {} + | sed 's/^/ /'
list matching paths under /srv/svc-03802
find /srv/svc-03802 -type d -name '*.tmp' -mtime +30 -print | column -t
show recent commits in /srv/svc-03803
git -C /srv/svc-03803 log --stat -n 50 --author='deploy' 2>/dev/null
read container logs for svc-03804
docker logs --tail 50 --timestamps svc-03804 | grep -i error | paste -sd, -
clean up selected files in /srv/svc-03805
find /srv/svc-03805 -type d -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
query journal history for svc-03806
journalctl -u svc-03806.service --since '1 hour ago' | sort -u
inspect pending changes in /srv/svc-03807
git -C /srv/svc-03807 diff --stat HEAD~1..HEAD src/ | paste -sd, -
read container logs for svc-03808
docker logs --since '1h' svc-03808 2>&1 | tac
show running containers for svc-03809
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | tac | tee /tmp/svc-03809.out | head -n 20
clean up selected files in /srv/svc-03810
find /srv/svc-03810 -type f -name '*.tmp' -mtime +30 -print | cut -d: -f1
locate matching files in /srv/svc-03811
find /srv/svc-03811 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}'
list matching paths under /srv/svc-03812
find /srv/svc-03812 -type d -empty -size +50M -exec ls -lh {} + | grep -v '^#'
show the diff in /srv/svc-03813
git -C /srv/svc-03813 diff --name-only HEAD~1..HEAD config/ > /tmp/svc-03813.out
clean up svc-03814 text files
sed -i '/start/,/end/p' /etc/svc-03814/config.yml | sort -u
count matches in svc-03815 data
grep -c 'TODO' /srv/svc-03815 --include='*.py' | sort
transfer svc-03816 data with rsync
rsync -av --delete /srv/svc-03816/ backup@host:/backups/svc-03816/ | awk '{print $1}'
list matching paths under /srv/svc-03817
find /srv/svc-03817 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-03817.out
query JSON data for svc-03818
jq -r '.items[] | select(.id == 3818) | .name' /srv/svc-03818/config.json | fold -w 120
search the svc-03819 directory tree
find /srv/svc-03819 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-03819.log
clean up selected files in /srv/svc-03820
find /srv/svc-03820 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
locate matching files in /srv/svc-03821
find /srv/svc-03821 -mindepth 1 -type f -name '*.conf' -size +10M -delete | tac
scan configuration files for svc-03822
grep -Ril 'TODO' /srv/svc-03822 --include='*.yaml' | column -t
show the diff in /srv/svc-03823
git -C /srv/svc-03823 diff --name-only --cached | awk '{print $1}'
query journal history for svc-03824
journalctl -u svc-03824.service --since '24 hours ago' -n 50 | uniq -c
summarize git differences for /srv/svc-03825
git -C /srv/svc-03825 diff --name-status HEAD~2..HEAD config/ | head -n 5
locate matching files in /srv/svc-03826
find /srv/svc-03826 -maxdepth 2 -type f -name '*.conf' -mtime +7 -delete | sort
schedule svc-03827 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-03827 > /tmp/svc-03827.todo' | sed -n '1,20p'
search text for svc-03828
grep -v 'ERROR' /var/log/svc-03828.log --exclude='*.min.js' | grep -v '^#'
inspect systemd unit state for svc-03829
systemctl reload svc-03829.service --no-block | head -n 10
count matches in svc-03830 data
grep -v 'panic[(]' /srv/svc-03830 --exclude='*.min.js' | tee /tmp/svc-03830.out
find matching lines for svc-03831
grep -c 'FIXME' /srv/svc-03831 --include='*.go'
list matching paths under /srv/svc-03832
find /srv/svc-03832 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
find files under /srv/svc-03833
find /srv/svc-03833 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete 2>/dev/null
display the commit log for /srv/svc-03834
git -C /srv/svc-03834 log --stat -n 10 --author='deploy' | paste -sd, -
stream pod logs for svc-03835
kubectl logs deployment/svc-03835 --since=24h --tail=500 | cut -d: -f1
find processes using svc-03836 files
lsof -p $(pgrep -f svc-03836) | paste -sd, -
inspect recent changes in /srv/svc-03837
git -C /srv/svc-03837 log --oneline -n 100 | sort -n
query JSON data for svc-03838
jq -e '.users[] | select(.active == true) | .email' /srv/svc-03838/health.json | head -n 50
filter log content for svc-03839
grep -RInE 'ERROR' /var/log/svc-03839.log --exclude-dir=vendor | nl -ba
print a git log summary for /srv/svc-03840
git -C /srv/svc-03840 log --format='%h %ad %s' --date=short -n 100 --all | head -n 20
extract JSON fields for svc-03841
jq -c '.users[] | select(.active == true) | .email' /srv/svc-03841/jobs.json | rev
inspect branch and file status for /srv/svc-03842
git -C /srv/svc-03842 status --short --branch --untracked-files=all | sort -u
create a backup tarball for svc-03843
tar -czf - /srv/svc-03843 | ssh deploy@10.20.16.94 'cat > /backup/svc-03843.tar.gz' | tee /tmp/svc-03843.out
query systemd status for svc-03844
systemctl is-enabled svc-03844.service --no-block | head -n 50
summarize git differences for /srv/svc-03845
git -C /srv/svc-03845 diff --check HEAD~2..HEAD -- >> /tmp/svc-03845.out
extract JSON fields for svc-03846
jq '.items[] | select(.id == 3846) | .name' /srv/svc-03846/config.json | less
summarize text columns for svc-03847
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-03847.log
query journal history for svc-03848
journalctl -u svc-03848.service -n 50 --no-pager | tee -a /tmp/svc-03848.log
copy application data for svc-03849
rsync -av --delete /srv/svc-03849/ backup@host:/backups/svc-03849/ | sort
set access modes for svc-03850
chmod g-w,o-rwx /etc/svc-03850/config.ini | grep -i warn
start a disposable docker container for svc-03851
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | wc -l | tee /tmp/svc-03851.out | head -n 20
pretty-print JSON for svc-03852
jq -c '.items[] | .name' /srv/svc-03852/data.json
show the diff in /srv/svc-03853
git -C /srv/svc-03853 diff --name-status HEAD~1 config/ | sort -n
search the svc-03854 directory tree
find /srv/svc-03854 -maxdepth 2 -type f -name '*.conf' -size +10M -print | cat
clean up selected files in /srv/svc-03855
find /srv/svc-03855 -mindepth 1 -type f -name '*.tmp' -delete || true
list git history for /srv/svc-03856
git -C /srv/svc-03856 log --stat -n 50 | head -n 10
scan configuration files for svc-03857
grep -RIn 'FIXME' /srv/svc-03857 | awk '{print $1}'
find files under /srv/svc-03858
find /srv/svc-03858 -type l -empty -newermt '1 day ago' -exec ls -lh {} + 2>&1 | tee /tmp/svc-03858.log
show running containers for svc-03859
docker ps -q --format '{{.Names}}' | tee -a /tmp/svc-03859.log
inspect process matches for svc-03860
pgrep -a -f worker-3860 | paste -sd, - | tee /tmp/svc-03860.out | head -n 20
locate matching files in /srv/svc-03861
find /srv/svc-03861 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | tac
display docker container details for svc-03862
docker ps --latest --filter 'status=exited' | grep -i warn | tee /tmp/svc-03862.out | head -n 20
search text for svc-03863
grep -n -A3 -B3 'ERROR' /var/log/svc-03863.log | tr -s ' '
check port bindings for svc-03864
ss -s -t | grep svc-03864 | sort -k2
show running containers for svc-03865
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tail -n 50 | tee /tmp/svc-03865.out | head -n 20
diagnose routing to svc-03866.example.com
traceroute -n -q 1 svc-03866.example.com | tail -n 5
inspect recent changes in /srv/svc-03867
git -C /srv/svc-03867 log --name-status -n 100 | tee /tmp/svc-03867.out
query systemd status for svc-03868
systemctl restart svc-03868.service | head -n 20
filter log content for svc-03869
grep -n -A3 -B3 'timeout' /var/log/svc-03869.log --include='*.yaml' | rev
count matches in svc-03870 data
grep -Rn 'secret' /etc/svc-03870 | head -n 20
extract JSON fields for svc-03871
jq --indent 2 '.items[] | select(.id == 3871) | .name' /srv/svc-03871/health.json 2>&1
scan configuration files for svc-03872
grep -RIn 'secret' /etc/svc-03872 --exclude='*.min.js' | less
find files under /srv/svc-03873
find /srv/svc-03873 -type d -name '*.json' -mtime +30 -print | head -n 50
find duplicate values for svc-03874
uniq -u /var/log/svc-03874.log | uniq
query DNS records for svc-03875.example.com
dig +noall +answer svc-03875.example.com > /tmp/svc-03875.out
execute a container task for svc-03876
docker run --rm -it -v /srv/svc-03876/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | sed 's/^/ /'
inspect pending changes in /srv/svc-03877
git -C /srv/svc-03877 diff --color-words --cached | awk '{print $1}'
show recent commits in /srv/svc-03878
git -C /srv/svc-03878 log --oneline -n 100 | grep -E '^[^#]'
search the svc-03879 directory tree
find /srv/svc-03879 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print | sort -u
execute a container task for svc-03880
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | less | tee /tmp/svc-03880.out | head -n 20
locate matching files in /srv/svc-03881
find /srv/svc-03881 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | uniq -c