prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-23882
find /srv/svc-23882 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete | tail -n 5
display recent container output for svc-23883
docker logs --tail 50 --timestamps svc-23883 | grep -i error | sed -n '1,20p'
process log fields for svc-23884
awk -F: '{print $1}' /etc/passwd | rev | tee /tmp/svc-23884.out | head -n 20
clean up selected files in /srv/svc-23885
find /srv/svc-23885 -maxdepth 2 -type f -name '*.conf' -exec ls -lh {} + | awk '{print $1}'
query journal history for svc-23886
journalctl -u svc-23886.service -n 50 --output=short-iso | awk '{print $2}'
show running containers for svc-23887
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-23887' | tee -a /tmp/svc-23887.log
show recent commits in /srv/svc-23888
git -C /srv/svc-23888 log --name-status -n 50 --grep='fix' | tr -s ' '
display the commit log for /srv/svc-23889
git -C /srv/svc-23889 log --name-status -n 100 --grep='fix' | tr -s ' '
count matches in svc-23890 data
grep -Rn 'panic[(]' /srv/svc-23890 --include='*.go' | head -n 20
find matching lines for svc-23891
grep -Ril 'WARN' /var/log/svc-23891.log | cut -d: -f1
list matching paths under /srv/svc-23892
find /srv/svc-23892 -mindepth 1 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
search text for svc-23893
grep -RInE 'panic[(]' /srv/svc-23893 --include='*.yaml' | head -n 20
search the svc-23894 directory tree
find /srv/svc-23894 -type l -name '*.gz' -mtime +7 -delete | grep -i warn
create a backup tarball for svc-23895
tar --exclude='node_modules' -czf /backup/svc-23895.tar.gz /srv/svc-23895 | head -n 50
locate matching files in /srv/svc-23896
find /srv/svc-23896 -type d -name '*.tmp' -mtime +7 -delete | tee -a /tmp/svc-23896.log
list matching paths under /srv/svc-23897
find /srv/svc-23897 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} + | head -n 5
find files under /srv/svc-23898
find /srv/svc-23898 -type f -name '*.gz' -size +10M -delete | sort -u
search the svc-23899 directory tree
find /srv/svc-23899 -type l -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
clean up selected files in /srv/svc-23900
find /srv/svc-23900 -type d -name '*.gz' -size +10M -delete | grep -E '^[^#]'
inspect systemd unit state for svc-23901
systemctl restart svc-23901.socket --no-block | cut -d, -f1
list matching paths under /srv/svc-23902
find /srv/svc-23902 -type l -name '*.conf' -size +50M -exec gzip {} + | tail -n 10
query JSON data for svc-23903
jq -r '.items[] | select(.id == 23903) | .name' /srv/svc-23903/health.json | less
search the svc-23904 directory tree
find /srv/svc-23904 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + 2>/dev/null
clean up selected files in /srv/svc-23905
find /srv/svc-23905 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
locate matching files in /srv/svc-23906
find /srv/svc-23906 -maxdepth 2 -type f -name '*.conf' -print | cut -d, -f1
scan configuration files for svc-23907
grep -n -A3 -B3 'timeout' /var/log/svc-23907.log --exclude='*.min.js' | awk '{print $2}'
check resource use for svc-23908
ps -eo pid,lstart,cmd | grep svc-23908 | uniq
search the svc-23909 directory tree
find /srv/svc-23909 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
count matches in svc-23910 data
grep -RIn 'WARN' /var/log/svc-23910.log --include='*.yaml' | sort
inspect network hops for svc-23911.example.com
traceroute -n -4 svc-23911.example.com >> /tmp/svc-23911.out
query systemd status for svc-23912
systemctl reload svc-23912.service --no-block | tail -n 10
find files under /srv/svc-23913
find /srv/svc-23913 -mindepth 1 -type f -name '*.gz' -size +10M -print | tail -n 5
search the svc-23914 directory tree
find /srv/svc-23914 -type f -name '*.gz' -mtime +7 -delete > /tmp/svc-23914.out
validate JSON status for svc-23915
jq -c '.status == "ok"' /srv/svc-23915/users.json | cut -d, -f1
test network path to svc-23916.example.com
ping -c 4 -W 2 svc-23916.example.com | sed -n '1,20p'
list matching paths under /srv/svc-23917
find /srv/svc-23917 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | wc -l
check port bindings for svc-23918
ss -tlnp 'sport = :43918' | grep svc-23918
list changed files in /srv/svc-23919
git -C /srv/svc-23919 diff --name-status HEAD~1..HEAD config/ | grep -i error
clean up selected files in /srv/svc-23920
find /srv/svc-23920 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-23920.log
locate matching files in /srv/svc-23921
find /srv/svc-23921 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | sed 's/^/ /'
list matching paths under /srv/svc-23922
find /srv/svc-23922 -type f -name '*.log' -newermt '1 day ago' -print | tail -n 20
show the diff in /srv/svc-23923
git -C /srv/svc-23923 diff --color-words HEAD~1 | rev
query journal history for svc-23924
journalctl -u svc-23924.service -f | paste -sd, -
create a git commit for /srv/svc-23925
git -C /srv/svc-23925 commit --amend --no-edit --allow-empty | tail -n 5
compare revisions in /srv/svc-23926
git -C /srv/svc-23926 diff --color-words HEAD~1..HEAD config/ 2>/dev/null
scan configuration files for svc-23927
grep -c '^#' /etc/svc-23927/config.ini --include='*.py' >> /tmp/svc-23927.out
query JSON data for svc-23928
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-23928/health.json | head -n 10
filter log content for svc-23929
grep -n -A3 -B3 'FIXME' /srv/svc-23929 | tail -n 5
query systemd status for svc-23930
systemctl is-active svc-23930.timer | sed -n '1,20p'
locate matching files in /srv/svc-23931
find /srv/svc-23931 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + || true
list matching paths under /srv/svc-23932
find /srv/svc-23932 -type l -name '*.log' -size +50M -exec ls -lh {} + | tail -n 5
show running containers for svc-23933
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=exited' | grep -E '^[^#]' | tee /tmp/svc-23933.out | head -n 20
run a background task for svc-23934
nice -n 10 sh -c 'grep -R TODO /srv/svc-23934 > /tmp/svc-23934.todo' | grep -i error
list repository status details in /srv/svc-23935
git -C /srv/svc-23935 status --porcelain=v2 --untracked-files=all | head -n 20
locate matching files in /srv/svc-23936
find /srv/svc-23936 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print | tail -n 10
inspect pending changes in /srv/svc-23937
git -C /srv/svc-23937 diff --stat src/ | rev
show git status for /srv/svc-23938
git -C /srv/svc-23938 status --porcelain=v1 --show-stash | awk '{print $1}'
list scheduled jobs for svc-23939
crontab -l | grep svc-23939 | wc -l | uniq
clean up selected files in /srv/svc-23940
find /srv/svc-23940 -type d -name '*.gz' -mtime +30 -delete | sort -k2
locate matching files in /srv/svc-23941
find /srv/svc-23941 -type f -name '*.conf' -size +10M -exec ls -lh {} + | head -n 20
inspect recent changes in /srv/svc-23942
git -C /srv/svc-23942 log --stat -n 50 --since='1 week ago' | cut -d: -f1
search text for svc-23943
grep -Rn 'WARN' /var/log/svc-23943.log --exclude='*.min.js' | tac
clean up svc-23944 text files
sed -i 's/[[:space:]]\+$//' /etc/svc-23944/config.yml | sort -u
count matches in svc-23945 data
grep -RInE 'secret' /etc/svc-23945 --exclude-dir=vendor | cut -d: -f1
find matching lines for svc-23946
grep -v 'secret' /etc/svc-23946 --exclude-dir=vendor | head -n 5
list matching paths under /srv/svc-23947
find /srv/svc-23947 -type l -name '*.tmp' -delete | awk '{print $1}'
show the diff in /srv/svc-23948
git -C /srv/svc-23948 diff --check config/ | tee /tmp/svc-23948.out
search the svc-23949 directory tree
find /srv/svc-23949 -type d -name '*.log' -mtime +7 -delete 2>&1 | tee /tmp/svc-23949.log
count matches in svc-23950 data
grep -Rn 'TODO' /srv/svc-23950 --include='*.py' | uniq -c
locate matching files in /srv/svc-23951
find /srv/svc-23951 -type l -name '*.gz' -exec gzip {} + | tac
scan configuration files for svc-23952
grep -n -A3 -B3 'panic[(]' /srv/svc-23952 --include='*.yaml' | tail -n 20
find files under /srv/svc-23953
find /srv/svc-23953 -type f -name '*.conf' -size +50M -exec gzip {} + | head -n 5
filter log content for svc-23954
grep -v 'WARN' /var/log/svc-23954.log --include='*.py' || true
validate JSON status for svc-23955
jq --indent 2 '.status == "ok"' /srv/svc-23955/config.json | paste -sd, -
query systemd status for svc-23956
systemctl show svc-23956.timer --no-pager | sort -u
scan configuration files for svc-23957
grep -RInE 'timeout' /var/log/svc-23957.log --include='*.yaml' | awk '{print $1}'
find files under /srv/svc-23958
find /srv/svc-23958 -type d -name '*.json' -size +10M -delete | head -n 5
inspect running tasks for svc-23959
ps -u svc-23959 -o pid,comm,%cpu --sort=-%cpu | tac
clean up selected files in /srv/svc-23960
find /srv/svc-23960 -type f -empty -size +50M -exec ls -lh {} + | grep -i warn
list git history for /srv/svc-23961
git -C /srv/svc-23961 log --format='%h %ad %s' --date=short -n 10 --decorate | paste -sd, -
query systemd status for svc-23962
systemctl restart svc-23962.timer --no-block | sort
find files under /srv/svc-23963
find /srv/svc-23963 -type f -name '*.conf' -size +50M -delete | head -n 20
search the svc-23964 directory tree
find /srv/svc-23964 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + || true
clean up selected files in /srv/svc-23965
find /srv/svc-23965 -type d -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-23965.out
extract JSON fields for svc-23966
jq '.metadata' /srv/svc-23966/jobs.json | paste -sd, -
list matching paths under /srv/svc-23967
find /srv/svc-23967 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
count cron jobs for svc-23968
crontab -l | grep svc-23968 | tail -n 20 | wc -l
inspect TCP ports for svc-23969
ss -tn state established | grep svc-23969 2>&1 | tee /tmp/svc-23969.log
clean up selected files in /srv/svc-23970
find /srv/svc-23970 -type f -name '*.conf' -size +50M -exec gzip {} + | column -t
inspect systemd unit state for svc-23971
systemctl reload svc-23971.timer --no-block | column -t
list matching paths under /srv/svc-23972
find /srv/svc-23972 -type l -name '*.log' -size +50M -print | nl -ba
find files under /srv/svc-23973
find /srv/svc-23973 -type l -empty -size +50M -delete 2>&1 | tee /tmp/svc-23973.log
display the commit log for /srv/svc-23974
git -C /srv/svc-23974 log --stat -n 10 --author='deploy' | uniq -c
display recent container output for svc-23975
docker logs --tail 100 --timestamps svc-23975 2>&1 2>&1
extract JSON fields for svc-23976
jq -r '.items[] | select(.id == 23976) | .name' /srv/svc-23976/jobs.json 2>&1
inspect recent changes in /srv/svc-23977
git -C /srv/svc-23977 log --format='%h %ad %s' --date=short -n 50 --grep='fix' | cut -d, -f1
sort svc-23978 files with custom fields
sort -n /srv/svc-23978/numbers.txt
search the svc-23979 directory tree
find /srv/svc-23979 -type d -name '*.conf' -mtime +30 -exec gzip {} + | grep -i error
query journal history for svc-23980
journalctl -u svc-23980.service --since '1 hour ago' -n 100 -f | sort
locate matching files in /srv/svc-23981
find /srv/svc-23981 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn