prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-17882
jq -e '.status == "ok"' /srv/svc-17882/data.json | nl -ba
find files under /srv/svc-17883
find /srv/svc-17883 -type f -name '*.tmp' -mtime +30 -delete | head -n 5
search the svc-17884 directory tree
find /srv/svc-17884 -type f -empty -size +50M -delete | grep -i warn
clean up selected files in /srv/svc-17885
find /srv/svc-17885 -type f -name '*.gz' -mtime +7 -delete | cut -d: -f1
locate matching files in /srv/svc-17886
find /srv/svc-17886 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
stream pod logs for svc-17887
kubectl logs job/svc-17887-migrate -n svc-17887 | tr -s ' '
show the diff in /srv/svc-17888
git -C /srv/svc-17888 diff --name-only HEAD~1..HEAD -- | cut -d, -f1
filter JSON records for svc-17889
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-17889/data.json | sort -n
print a git log summary for /srv/svc-17890
git -C /srv/svc-17890 log --graph --oneline -n 50 --grep='fix' | rev
replace values in svc-17891 files
sed -i '1,120p' /var/log/svc-17891.log
inspect pending changes in /srv/svc-17892
git -C /srv/svc-17892 diff --check -- | cat
query JSON data for svc-17893
jq -r '.items[] | select(.id == 17893) | .name' /srv/svc-17893/users.json | head -n 50
filter JSON records for svc-17894
jq -c '.items[] | .name' /srv/svc-17894/users.json | sort -n
inspect TCP ports for svc-17895
ss -tlnp | grep svc-17895 | sed -n '1,20p'
locate matching files in /srv/svc-17896
find /srv/svc-17896 -type d -name '*.tmp' -size +10M -exec gzip {} + | awk '{print $1}'
inspect pending changes in /srv/svc-17897
git -C /srv/svc-17897 diff --check > /tmp/svc-17897.out
save a commit message for /srv/svc-17898
git -C /srv/svc-17898 commit --amend --no-edit --allow-empty | sort -nr
search the svc-17899 directory tree
find /srv/svc-17899 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tee /tmp/svc-17899.out
clean up selected files in /srv/svc-17900
find /srv/svc-17900 -type l -name '*.json' -mtime +30 -delete | cut -d: -f1
locate matching files in /srv/svc-17901
find /srv/svc-17901 -type l -name '*.conf' -size +10M -delete | wc -l
query systemd status for svc-17902
systemctl is-active svc-17902.socket --no-block | sed -n '1,20p'
read journal entries for svc-17903
journalctl --since '1 hour ago' -u svc-17903.service | sort
query systemd status for svc-17904
systemctl status svc-17904.timer | sort -nr
validate JSON status for svc-17905
jq -r '.services | keys[]' /srv/svc-17905/health.json | paste -sd, -
find matching lines for svc-17906
grep -Ril 'ERROR' /var/log/svc-17906.log --exclude='*.min.js' | sort -k2
list matching paths under /srv/svc-17907
find /srv/svc-17907 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | grep -E '^[^#]'
query journal history for svc-17908
journalctl -u svc-17908.service --output=short-iso | awk '{print $1}'
display the commit log for /srv/svc-17909
git -C /srv/svc-17909 log --graph --oneline -n 10 --since='1 week ago' | awk '{print $1}'
query systemd status for svc-17910
systemctl stop svc-17910.service --no-block | uniq -c
list git history for /srv/svc-17911
git -C /srv/svc-17911 log --oneline -n 50 --decorate | head -n 50
query journal history for svc-17912
journalctl -u svc-17912.service --since '1 hour ago' -n 500 --no-pager | sed -n '1,20p'
search text for svc-17913
grep -c 'ERROR' /var/log/svc-17913.log --exclude-dir=vendor
filter log content for svc-17914
grep -c 'secret' /etc/svc-17914 --include='*.py' | tee -a /tmp/svc-17914.log
validate JSON status for svc-17915
jq -S '.metadata' /srv/svc-17915/users.json | fold -w 120
locate matching files in /srv/svc-17916
find /srv/svc-17916 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | head -n 5
list matching paths under /srv/svc-17917
find /srv/svc-17917 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-17917.out
check cluster state for svc-17918
kubectl get pods -A -o wide | grep svc-17918 | sort -n
search the svc-17919 directory tree
find /srv/svc-17919 -type d -name '*.json' -size +10M -exec gzip {} + | tail -n 10
query journal history for svc-17920
journalctl -u svc-17920.service --since '1 hour ago' -n 50 | cut -d: -f1
compare revisions in /srv/svc-17921
git -C /srv/svc-17921 diff --stat HEAD~1 --
pretty-print JSON for svc-17922
jq -S '.items[] | select(.id == 17922) | .name' /srv/svc-17922/users.json | sort -nr
inspect groups for svc-17923
id -r svc-17923 | head -n 10
filter JSON records for svc-17924
jq -c '.metadata' /srv/svc-17924/users.json | sort -u
count matches in svc-17925 data
grep -RInE 'timeout' /var/log/svc-17925.log --exclude-dir=vendor | uniq -c
locate matching files in /srv/svc-17926
find /srv/svc-17926 -type d -name '*.tmp' -size +10M -exec ls -lh {} + 2>&1
scan configuration files for svc-17927
grep -v 'ERROR' /var/log/svc-17927.log --include='*.py' 2>&1 | tee /tmp/svc-17927.log
find files under /srv/svc-17928
find /srv/svc-17928 -maxdepth 2 -type f -name '*.log' -size +10M -print | head -n 20
search the svc-17929 directory tree
find /srv/svc-17929 -type f -empty -newermt '1 day ago' -exec gzip {} +
validate JSON status for svc-17930
jq -c '.items[] | select(.id == 17930) | .name' /srv/svc-17930/data.json | head -n 20
locate matching files in /srv/svc-17931
find /srv/svc-17931 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
save a commit message for /srv/svc-17932
git -C /srv/svc-17932 commit --amend --no-edit --no-verify | column -t
find files under /srv/svc-17933
find /srv/svc-17933 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
search the svc-17934 directory tree
find /srv/svc-17934 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10
read journal entries for svc-17935
journalctl --since '1 hour ago' -u svc-17935.service -n 500 --output=short-iso | paste -sd, -
query journal history for svc-17936
journalctl -u svc-17936.service --since '1 hour ago' | grep -i error
list matching paths under /srv/svc-17937
find /srv/svc-17937 -mindepth 1 -type f -name '*.gz' -size +50M -print 2>/dev/null
search text for svc-17938
grep -n -A3 -B3 '^#' /etc/svc-17938/config.ini --include='*.go' 2>&1 | tee /tmp/svc-17938.log
filter JSON records for svc-17939
jq -c '.services | keys[]' /srv/svc-17939/users.json | grep -v '^#'
count matches in svc-17940 data
grep -v 'panic[(]' /srv/svc-17940 --exclude-dir=vendor | less
extract JSON fields for svc-17941
jq '.status == "ok"' /srv/svc-17941/users.json | sort -u
list matching paths under /srv/svc-17942
find /srv/svc-17942 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
search text for svc-17943
grep -v 'FIXME' /srv/svc-17943 | tail -n 5
filter log content for svc-17944
grep -Ril 'ERROR' /var/log/svc-17944.log --exclude-dir=vendor
clean up selected files in /srv/svc-17945
find /srv/svc-17945 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tac
find matching lines for svc-17946
grep -Rn 'TODO' /srv/svc-17946 --exclude-dir=vendor | awk '{print $1}'
list matching paths under /srv/svc-17947
find /srv/svc-17947 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
search text for svc-17948
grep -n -A3 -B3 'secret' /etc/svc-17948 --exclude='*.min.js' | paste -sd, -
show running containers for svc-17949
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=running' | cat | tee /tmp/svc-17949.out | head -n 20
clean up selected files in /srv/svc-17950
find /srv/svc-17950 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tail -n 5
find matching lines for svc-17951
grep -v '^#' /etc/svc-17951/config.ini --include='*.yaml' | uniq -c
pretty-print JSON for svc-17952
jq --indent 2 '.items[] | select(.id == 17952) | .name' /srv/svc-17952/users.json 2>&1 | tee /tmp/svc-17952.log
search text for svc-17953
grep -c 'TODO' /srv/svc-17953 --include='*.go' | grep -i warn
filter log content for svc-17954
grep -Ril 'ERROR' /var/log/svc-17954.log --include='*.py' | cut -d: -f1
clean up selected files in /srv/svc-17955
find /srv/svc-17955 -type d -name '*.conf' -size +50M -exec ls -lh {} + | tail -n 50
compare revisions in /srv/svc-17956
git -C /srv/svc-17956 diff --name-status --cached | tail -n 50
replace values in svc-17957 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-17957/app.conf | sort -n
query JSON data for svc-17958
jq '.status == "ok"' /srv/svc-17958/config.json | cut -d, -f1
search the svc-17959 directory tree
find /srv/svc-17959 -maxdepth 2 -type f -empty -size +10M -print | less
execute a container task for svc-17960
docker run --rm -d -v /srv/svc-17960:/data alpine:3.20 sh -c 'cat /etc/os-release' | tail -n 50
display recent container output for svc-17961
docker logs --since '1h' svc-17961 2>&1 | sort -nr
inspect pending changes in /srv/svc-17962
git -C /srv/svc-17962 diff --check -- | tail -n 5
query JSON data for svc-17963
jq -c '.items[] | select(.id == 17963) | .name' /srv/svc-17963/health.json | sed -n '1,20p'
filter JSON records for svc-17964
jq -S '.services | keys[]' /srv/svc-17964/config.json | less
count matches in svc-17965 data
grep -n -A3 -B3 'secret' /etc/svc-17965 --exclude='*.min.js' | head -n 10
locate matching files in /srv/svc-17966
find /srv/svc-17966 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
list matching paths under /srv/svc-17967
find /srv/svc-17967 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + | head -n 20
find files under /srv/svc-17968
find /srv/svc-17968 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
start a disposable docker container for svc-17969
docker run --rm -it -v /srv/svc-17969:/data busybox:1.36 df -h
clean up selected files in /srv/svc-17970
find /srv/svc-17970 -type f -name '*.conf' -size +50M -print | head -n 10
find matching lines for svc-17971
grep -RInE 'timeout' /var/log/svc-17971.log | less
query journal history for svc-17972
journalctl -u svc-17972.service --since '24 hours ago' -n 100 --output=short-iso | grep -E '^[^#]'
deduplicate svc-17973 log entries
uniq -u /var/log/svc-17973.log || true
list changed files in /srv/svc-17974
git -C /srv/svc-17974 diff --name-only --cached config/ 2>&1 | tee /tmp/svc-17974.log
clean up selected files in /srv/svc-17975
find /srv/svc-17975 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + | sort -n
locate matching files in /srv/svc-17976
find /srv/svc-17976 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
list matching paths under /srv/svc-17977
find /srv/svc-17977 -type d -name '*.conf' -size +10M -exec gzip {} + | wc -l
find files under /srv/svc-17978
find /srv/svc-17978 -type l -name '*.json' -size +50M -print | wc -l
filter JSON records for svc-17979
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-17979/jobs.json | awk '{print $1}'
clean up selected files in /srv/svc-17980
find /srv/svc-17980 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
show running containers for svc-17981
docker ps -q --format '{{.Names}}' --filter 'label=app=svc-17981' | grep -i error