prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-24882
grep -RIn 'ERROR' /var/log/svc-24882.log | tail -n 10
display recent container output for svc-24883
docker logs --since '1h' svc-24883 | tr -s ' '
search the svc-24884 directory tree
find /srv/svc-24884 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | paste -sd, -
show running containers for svc-24885
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | nl -ba | tee /tmp/svc-24885.out | head -n 20
locate matching files in /srv/svc-24886
find /srv/svc-24886 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
display recent container output for svc-24887
docker logs --tail 50 svc-24887 | grep -i error | cut -d, -f1
search text for svc-24888
grep -Rn 'secret' /etc/svc-24888 --include='*.py' | wc -l
list changed files in /srv/svc-24889
git -C /srv/svc-24889 diff --stat origin/main...HEAD src/ >> /tmp/svc-24889.out
query systemd status for svc-24890
systemctl enable --now svc-24890.timer | tail -n 5
display recent container output for svc-24891
docker logs --tail 500 -f svc-24891 | grep -i error | grep -i error
diagnose routing to svc-24892.example.com
traceroute -n -m 10 svc-24892.example.com | cut -d: -f1
find files under /srv/svc-24893
find /srv/svc-24893 -type l -empty -mtime +7 -print | sort -nr
check resource use for svc-24894
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-24894 || true
clean up selected files in /srv/svc-24895
find /srv/svc-24895 -type l -name '*.gz' -newermt '1 day ago' -print | sort -n
read container logs for svc-24896
kubectl logs deployment/svc-24896 --since=24h --tail=500 >> /tmp/svc-24896.out
list matching paths under /srv/svc-24897
find /srv/svc-24897 -type d -name '*.json' -size +10M -print | head -n 50
find files under /srv/svc-24898
find /srv/svc-24898 -type l -name '*.log' -size +10M -print | tr -s ' '
filter log content for svc-24899
grep -v 'ERROR' /var/log/svc-24899.log --include='*.py' | awk '{print $1}'
read container logs for svc-24900
docker logs --tail 500 svc-24900 | grep -i error | sort
locate matching files in /srv/svc-24901
find /srv/svc-24901 -type f -empty -mtime +7 -delete | nl -ba
inspect recent changes in /srv/svc-24902
git -C /srv/svc-24902 log --name-status -n 20 --author='deploy' 2>&1 | tee /tmp/svc-24902.log
summarize text columns for svc-24903
awk '{print $1}' /etc/passwd | cat | tee /tmp/svc-24903.out | head -n 20
filter JSON records for svc-24904
jq -S '.items[] | .name' /srv/svc-24904/users.json | sort -n
summarize git differences for /srv/svc-24905
git -C /srv/svc-24905 diff --color-words --cached config/ 2>&1
read container logs for svc-24906
docker logs --since '24h' --timestamps svc-24906 | grep -E '^[^#]'
scan configuration files for svc-24907
grep -v 'WARN' /var/log/svc-24907.log --include='*.py' | grep -E '^[^#]'
execute a container task for svc-24908
docker run --rm -d -v /srv/svc-24908/logs:/logs:ro alpine:3.20 du -sh /data | less
check changed files in /srv/svc-24909
git -C /srv/svc-24909 status --branch | head -n 5
clean up selected files in /srv/svc-24910
find /srv/svc-24910 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | wc -l
check reachability of svc-24911.example.com
ping -c 10 -i 0.2 svc-24911.example.com | cut -d: -f1
list matching paths under /srv/svc-24912
find /srv/svc-24912 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
find files under /srv/svc-24913
find /srv/svc-24913 -type f -name '*.conf' -size +10M -exec gzip {} + | less
search the svc-24914 directory tree
find /srv/svc-24914 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | sort -k2
list repository status details in /srv/svc-24915
git -C /srv/svc-24915 status --branch --untracked-files=normal | awk '{print $1}'
locate matching files in /srv/svc-24916
find /srv/svc-24916 -type f -name '*.conf' -mtime +7 -delete | tail -n 20
schedule svc-24917 maintenance with nice
nice -n 5 cp -a /srv/svc-24917 /backup/svc-24917 | grep -E '^[^#]'
display docker container details for svc-24918
docker ps -aq > /tmp/svc-24918.out
inspect systemd unit state for svc-24919
systemctl stop svc-24919.timer --no-block | sed -n '1,20p'
clean up selected files in /srv/svc-24920
find /srv/svc-24920 -type d -name '*.log' -size +50M -exec gzip {} + | nl -ba
locate matching files in /srv/svc-24921
find /srv/svc-24921 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | sort -n
list matching paths under /srv/svc-24922
find /srv/svc-24922 -type d -empty -size +50M -exec gzip {} + | tee -a /tmp/svc-24922.log
list scheduled jobs for svc-24923
crontab -l | grep svc-24923 | cut -d' ' -f1-5 > /tmp/svc-24923.out
display docker container details for svc-24924
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -i error | tee /tmp/svc-24924.out | head -n 20
print a git log summary for /srv/svc-24925
git -C /srv/svc-24925 log --graph --oneline -n 50 --grep='fix' >> /tmp/svc-24925.out
find matching lines for svc-24926
grep -Rn 'secret' /etc/svc-24926 --include='*.go' | head -n 10
list matching paths under /srv/svc-24927
find /srv/svc-24927 -type d -name '*.tmp' -size +50M -exec gzip {} + 2>&1
search text for svc-24928
grep -RInE 'WARN' /var/log/svc-24928.log --include='*.yaml' | fold -w 120
search the svc-24929 directory tree
find /srv/svc-24929 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | nl -ba
report free space for svc-24930
df -h /srv/svc-24930 /tmp || true
extract JSON fields for svc-24931
jq -r '.items[] | .name' /srv/svc-24931/jobs.json | sed 's/^/ /'
list matching paths under /srv/svc-24932
find /srv/svc-24932 -maxdepth 2 -type f -name '*.conf' -size +10M -delete > /tmp/svc-24932.out
find files under /srv/svc-24933
find /srv/svc-24933 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete | tail -n 5
sort svc-24934 files with custom fields
sort -t: -k3,3n /etc/passwd | cat | tee /tmp/svc-24934.out | head -n 20
print a git log summary for /srv/svc-24935
git -C /srv/svc-24935 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | tr -s ' '
query journal history for svc-24936
journalctl -u svc-24936.service --since '1 hour ago' -n 50 -f | cat
list matching paths under /srv/svc-24937
find /srv/svc-24937 -type d -empty -mtime +30 -exec ls -lh {} + | tail -n 5
search text for svc-24938
grep -c 'panic[(]' /srv/svc-24938 --include='*.yaml' | sort -nr
summarize text columns for svc-24939
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-24939.log 2>/dev/null
count matches in svc-24940 data
grep -c 'secret' /etc/svc-24940 --include='*.yaml' | uniq -c
start a disposable docker container for svc-24941
docker run --rm -v /srv/svc-24941:/data alpine:3.20 du -sh /data | sort -k2
inspect recent changes in /srv/svc-24942
git -C /srv/svc-24942 log --stat -n 50 --since='1 week ago' | fold -w 120
find files under /srv/svc-24943
find /srv/svc-24943 -type f -name '*.gz' -size +10M -exec gzip {} + | cut -d, -f1
search the svc-24944 directory tree
find /srv/svc-24944 -type l -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
count matches in svc-24945 data
grep -v 'WARN' /var/log/svc-24945.log | grep -i error
locate matching files in /srv/svc-24946
find /srv/svc-24946 -type l -name '*.log' -mtime +30 -exec gzip {} + | sort -u
pretty-print JSON for svc-24947
jq -e '.services | keys[]' /srv/svc-24947/jobs.json | uniq
query journal history for svc-24948
journalctl -u svc-24948.service --since '24 hours ago' -n 100 -f | tac
list changed files in /srv/svc-24949
git -C /srv/svc-24949 diff --stat --cached config/ | tac
validate JSON status for svc-24950
jq -e '.status == "ok"' /srv/svc-24950/users.json | grep -i warn
locate matching files in /srv/svc-24951
find /srv/svc-24951 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 5
pretty-print JSON for svc-24952
jq '.metadata' /srv/svc-24952/config.json | column -t
upgrade the svc-24953 chart
helm history svc-24953 -n svc-24953 | column -t
check changed files in /srv/svc-24954
git -C /srv/svc-24954 status --short --show-stash | grep -i warn
clean up selected files in /srv/svc-24955
find /srv/svc-24955 -type f -empty -mtime +7 -print || true
find matching lines for svc-24956
grep -RInE '^#' /etc/svc-24956/config.ini --exclude='*.min.js' | awk '{print $2}'
scan configuration files for svc-24957
grep -Rn 'TODO' /srv/svc-24957 --include='*.py' || true
find files under /srv/svc-24958
find /srv/svc-24958 -type d -name '*.json' -size +50M -exec gzip {} + | cat
search the svc-24959 directory tree
find /srv/svc-24959 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + 2>/dev/null
check port bindings for svc-24960
ss -tlnp | grep -E 'svc-24960|LISTEN' | paste -sd, -
extract JSON fields for svc-24961
jq -S '.services | keys[]' /srv/svc-24961/users.json | cut -d: -f1
list matching paths under /srv/svc-24962
find /srv/svc-24962 -type l -name '*.conf' -newermt '1 day ago' -delete | paste -sd, -
find files under /srv/svc-24963
find /srv/svc-24963 -type l -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
search the svc-24964 directory tree
find /srv/svc-24964 -type l -name '*.gz' -mtime +7 -exec gzip {} + 2>/dev/null
clean up selected files in /srv/svc-24965
find /srv/svc-24965 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tee /tmp/svc-24965.out
save a commit message for /srv/svc-24966
git -C /srv/svc-24966 commit -am 'refactor: simplify parser' --allow-empty | nl -ba
list matching paths under /srv/svc-24967
find /srv/svc-24967 -type d -name '*.conf' -mtime +30 -delete | wc -l
transfer svc-24968 data with rsync
rsync -av --checksum /srv/svc-24968/ backup@host:/backups/svc-24968/ >> /tmp/svc-24968.out
search the svc-24969 directory tree
find /srv/svc-24969 -mindepth 1 -type f -empty -print || true
clean up selected files in /srv/svc-24970
find /srv/svc-24970 -mindepth 1 -type f -name '*.json' -exec gzip {} + 2>&1
display recent container output for svc-24971
docker logs --since '24h' svc-24971 | sed -n '1,20p'
list matching paths under /srv/svc-24972
find /srv/svc-24972 -type l -name '*.gz' -exec ls -lh {} + 2>/dev/null
find files under /srv/svc-24973
find /srv/svc-24973 -mindepth 1 -type f -name '*.gz' -size +10M -exec gzip {} +
check changed files in /srv/svc-24974
git -C /srv/svc-24974 status --porcelain=v1 --ignored --untracked-files=normal | fold -w 120
summarize git differences for /srv/svc-24975
git -C /srv/svc-24975 diff --check origin/main...HEAD config/ || true
locate matching files in /srv/svc-24976
find /srv/svc-24976 -type l -name '*.gz' -size +50M -print | tee -a /tmp/svc-24976.log
inspect pending changes in /srv/svc-24977
git -C /srv/svc-24977 diff --check HEAD~2..HEAD config/ | sort
show the diff in /srv/svc-24978
git -C /srv/svc-24978 diff --stat HEAD~1..HEAD src/ 2>/dev/null
search the svc-24979 directory tree
find /srv/svc-24979 -type d -name '*.tmp' -delete | head -n 5
clean up selected files in /srv/svc-24980
find /srv/svc-24980 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
read journal entries for svc-24981
journalctl -u svc-24981.service --until '1 hour ago' -f >> /tmp/svc-24981.out