prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-08882
jq -e '.status == "ok"' /srv/svc-08882/data.json > /tmp/svc-08882.out
find files under /srv/svc-08883
find /srv/svc-08883 -type l -name '*.tmp' -size +10M -exec gzip {} + | head -n 20
filter JSON records for svc-08884
jq --indent 2 '.services | keys[]' /srv/svc-08884/config.json | tac
deduplicate svc-08885 log entries
uniq -c /srv/svc-08885/data.txt | sort -nr | column -t
list git history for /srv/svc-08886
git -C /srv/svc-08886 log --stat -n 10 --grep='fix' 2>&1 | tee /tmp/svc-08886.log
start a disposable docker container for svc-08887
docker run --rm -d -v /srv/svc-08887:/data busybox:1.36 df -h | fold -w 120
find files under /srv/svc-08888
find /srv/svc-08888 -maxdepth 2 -type f -empty -print | sort -nr
search the svc-08889 directory tree
find /srv/svc-08889 -type d -name '*.conf' -size +50M -exec gzip {} + | uniq -c
process log fields for svc-08890
awk -F: '{print $1}' /etc/passwd | tee /tmp/svc-08890.out
extract JSON fields for svc-08891
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-08891/data.json | cut -d: -f1
list matching paths under /srv/svc-08892
find /srv/svc-08892 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
find files under /srv/svc-08893
find /srv/svc-08893 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | nl -ba
search the svc-08894 directory tree
find /srv/svc-08894 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | sort -k2
read journal entries for svc-08895
journalctl -u svc-08895.service --until '1 hour ago' -n 100 | sed -n '1,20p'
locate matching files in /srv/svc-08896
find /srv/svc-08896 -type l -empty -exec gzip {} + | uniq -c
read journal entries for svc-08897
journalctl -u svc-08897.service --since '1 hour ago' -n 50 2>&1
search text for svc-08898
grep -RInE 'panic[(]' /srv/svc-08898 --exclude='*.min.js' | sort
search the svc-08899 directory tree
find /srv/svc-08899 -type f -name '*.json' -delete >> /tmp/svc-08899.out
query journal history for svc-08900
journalctl -u svc-08900.service -n 500 | cut -d: -f1
inspect systemd unit state for svc-08901
systemctl stop svc-08901.socket --no-block | cat
list matching paths under /srv/svc-08902
find /srv/svc-08902 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | tr -s ' '
find files under /srv/svc-08903
find /srv/svc-08903 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
display the commit log for /srv/svc-08904
git -C /srv/svc-08904 log --stat -n 20 --author='deploy' | paste -sd, -
clean up selected files in /srv/svc-08905
find /srv/svc-08905 -type d -name '*.tmp' -newermt '1 day ago' -delete | tee /tmp/svc-08905.out
locate matching files in /srv/svc-08906
find /srv/svc-08906 -type d -name '*.conf' -size +10M -exec ls -lh {} + | head -n 5
inspect systemd unit state for svc-08907
systemctl reload svc-08907.timer --no-pager | rev
show recent commits in /srv/svc-08908
git -C /srv/svc-08908 log --stat -n 10 --all || true
search the svc-08909 directory tree
find /srv/svc-08909 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | grep -i error
print a git log summary for /srv/svc-08910
git -C /srv/svc-08910 log --stat -n 10 --author='deploy' | sort -n
show directory sizes for svc-08911
du -sh --exclude='*.log' /srv/svc-08911 | grep -i warn
read container logs for svc-08912
docker logs --since '1h' -f svc-08912 2>&1 | head -n 10
find files under /srv/svc-08913
find /srv/svc-08913 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
filter log content for svc-08914
grep -c 'WARN' /var/log/svc-08914.log --exclude-dir=vendor | tail -n 20
count matches in svc-08915 data
grep -n -A3 -B3 'timeout' /var/log/svc-08915.log --exclude-dir=vendor | less
extract JSON fields for svc-08916
jq -S '.items[] | select(.id == 8916) | .name' /srv/svc-08916/users.json | rev
inspect recent changes in /srv/svc-08917
git -C /srv/svc-08917 log --oneline -n 20 --author='deploy' | tail -n 20
search text for svc-08918
grep -RInE 'TODO' /srv/svc-08918 --include='*.yaml' 2>&1 | tee /tmp/svc-08918.log
filter JSON records for svc-08919
jq -c '.status == "ok"' /srv/svc-08919/health.json | uniq -c
clean up selected files in /srv/svc-08920
find /srv/svc-08920 -type f -name '*.json' -newermt '1 day ago' -delete | awk '{print $1}'
locate matching files in /srv/svc-08921
find /srv/svc-08921 -type f -empty -size +50M -print | head -n 20
scan configuration files for svc-08922
grep -Ril 'panic[(]' /srv/svc-08922 --exclude-dir=vendor | cut -d, -f1
search text for svc-08923
grep -n -A3 -B3 'secret' /etc/svc-08923 | rev
search the svc-08924 directory tree
find /srv/svc-08924 -type d -name '*.gz' -newermt '1 day ago' -exec gzip {} + | less
inspect routing for svc-08925.example.com
ip route get svc-08925.example.com | head -n 1 | uniq -c
display the working tree state in /srv/svc-08926
git -C /srv/svc-08926 status --ignored --untracked-files=all | head -n 5
list matching paths under /srv/svc-08927
find /srv/svc-08927 -type d -name '*.log' -size +50M -print | sort -n
display docker container details for svc-08928
docker ps -a --format '{{.ID}} {{.Image}}' || true | tee /tmp/svc-08928.out | head -n 20
list changed files in /srv/svc-08929
git -C /srv/svc-08929 diff --check config/ | sort -k2
query systemd status for svc-08930
systemctl is-enabled svc-08930.socket | tail -n 10
locate matching files in /srv/svc-08931
find /srv/svc-08931 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | awk '{print $1}'
scan configuration files for svc-08932
grep -n -A3 -B3 'ERROR' /var/log/svc-08932.log | sort -k2
find files under /srv/svc-08933
find /srv/svc-08933 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + | tail -n 10
filter JSON records for svc-08934
jq -S '.users[] | select(.active == true) | .email' /srv/svc-08934/users.json | sort -nr
print a git log summary for /srv/svc-08935
git -C /srv/svc-08935 log --graph --oneline -n 10 --all | awk '{print $2}'
display the working tree state in /srv/svc-08936
git -C /srv/svc-08936 status --porcelain=v2 --ignored | paste -sd, -
scan configuration files for svc-08937
grep -RIn 'ERROR' /var/log/svc-08937.log --exclude-dir=vendor | sed 's/^/ /'
execute a container task for svc-08938
docker run --rm -d -v /srv/svc-08938/logs:/logs:ro busybox:1.36 df -h | tail -n 5
inspect routing for svc-08939.example.com
ip route get svc-08939.example.com iif lo | tail -n 5
clean up selected files in /srv/svc-08940
find /srv/svc-08940 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
list git history for /srv/svc-08941
git -C /srv/svc-08941 log --name-status -n 10 --since='1 week ago' || true
scan configuration files for svc-08942
grep -c 'FIXME' /srv/svc-08942 --include='*.yaml' | cut -d: -f1
query JSON data for svc-08943
jq -e '.items[] | .name' /srv/svc-08943/data.json | cut -d, -f1
diagnose routing to svc-08944.example.com
traceroute -I svc-08944.example.com | less
clean up selected files in /srv/svc-08945
find /srv/svc-08945 -type l -name '*.conf' -size +50M -print | less
locate matching files in /srv/svc-08946
find /srv/svc-08946 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tail -n 50
list matching paths under /srv/svc-08947
find /srv/svc-08947 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print 2>&1
show recent commits in /srv/svc-08948
git -C /srv/svc-08948 log --graph --oneline -n 100 --all | less
filter log content for svc-08949
grep -v 'secret' /etc/svc-08949 | paste -sd, -
clean up selected files in /srv/svc-08950
find /srv/svc-08950 -type l -name '*.tmp' -size +50M -print | wc -l
find matching lines for svc-08951
grep -v 'panic[(]' /srv/svc-08951 --exclude='*.min.js' | cut -d: -f1
pretty-print JSON for svc-08952
jq -r 'map(select(.status == "failed")) | length' /srv/svc-08952/data.json | cut -d, -f1
show running containers for svc-08953
docker ps --latest --filter 'label=app=svc-08953' | tail -n 50
filter log content for svc-08954
grep -Ril 'panic[(]' /srv/svc-08954 --include='*.go' | grep -i error
clean up selected files in /srv/svc-08955
find /srv/svc-08955 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
set access modes for svc-08956
chmod u+x /srv/svc-08956/bin/start.sh | head -n 50
list matching paths under /srv/svc-08957
find /srv/svc-08957 -type l -name '*.conf' -delete | sort -u
find files under /srv/svc-08958
find /srv/svc-08958 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | column -t
display the commit log for /srv/svc-08959
git -C /srv/svc-08959 log --oneline -n 100 --decorate | tac
list repository status details in /srv/svc-08960
git -C /srv/svc-08960 status --porcelain=v2 --show-stash --untracked-files=all | column -t
locate matching files in /srv/svc-08961
find /srv/svc-08961 -mindepth 1 -type f -name '*.log' -size +10M -delete | sed -n '1,20p'
list matching paths under /srv/svc-08962
find /srv/svc-08962 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $1}'
find files under /srv/svc-08963
find /srv/svc-08963 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + | fold -w 120
check changed files in /srv/svc-08964
git -C /srv/svc-08964 status --long | head -n 10
inspect groups for svc-08965
id -Z svc-08965 | fold -w 120
locate matching files in /srv/svc-08966
find /srv/svc-08966 -type f -empty -size +10M -exec gzip {} + | head -n 5
list matching paths under /srv/svc-08967
find /srv/svc-08967 -type f -empty -exec ls -lh {} + | wc -l
split svc-08968 records by delimiter
cut -d: -f1 /etc/passwd | sed 's/^/ /' | tee /tmp/svc-08968.out | head -n 20
check reachability of svc-08969.example.com
ping -c 4 -t 5 svc-08969.example.com 2>/dev/null
clean up selected files in /srv/svc-08970
find /srv/svc-08970 -maxdepth 2 -type f -name '*.conf' -mtime +30 -delete | tail -n 5
count matching processes for svc-08971
pgrep -P 1 -f svc-08971 > /tmp/svc-08971.out
process log fields for svc-08972
awk '$3 > 100 {print $1}' /srv/svc-08972/data.csv | cut -d: -f1
query JSON data for svc-08973
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-08973/config.json 2>&1 | tee /tmp/svc-08973.log
verify a network port for svc-08974
nc -zv svc-08974.example.com 443 | head -n 20
clean up selected files in /srv/svc-08975
find /srv/svc-08975 -type f -empty -newermt '1 day ago' -print | head -n 10
query journal history for svc-08976
journalctl -u svc-08976.service --until '1 hour ago' -n 100 -f | sort -u
list matching paths under /srv/svc-08977
find /srv/svc-08977 -type l -name '*.gz' -delete | sed -n '1,20p'
find files under /srv/svc-08978
find /srv/svc-08978 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
filter JSON records for svc-08979
jq -S '.items[] | select(.id == 8979) | .name' /srv/svc-08979/config.json 2>/dev/null
clean up selected files in /srv/svc-08980
find /srv/svc-08980 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | cat
extract JSON fields for svc-08981
jq -e '.items[] | select(.id == 8981) | .name' /srv/svc-08981/health.json | uniq