prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-12882
find /srv/svc-12882 -mindepth 1 -type f -empty -mtime +7 -delete 2>&1
search text for svc-12883
grep -Rn 'ERROR' /var/log/svc-12883.log | head -n 50
list svc-12884 account details
id -Z svc-12884 | nl -ba
clean up selected files in /srv/svc-12885
find /srv/svc-12885 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
save a commit message for /srv/svc-12886
git -C /srv/svc-12886 commit --amend --no-edit --no-verify | grep -E '^[^#]'
scan configuration files for svc-12887
grep -v 'timeout' /var/log/svc-12887.log --include='*.go' | nl -ba
find files under /srv/svc-12888
find /srv/svc-12888 -type f -name '*.gz' -mtime +7 -delete | uniq -c
list changed files in /srv/svc-12889
git -C /srv/svc-12889 diff --stat | fold -w 120
list repository status details in /srv/svc-12890
git -C /srv/svc-12890 status --ignored --untracked-files=all | sort -k2
inspect systemd unit state for svc-12891
systemctl is-active svc-12891.socket --no-pager | sed -n '1,20p'
scan configuration files for svc-12892
grep -Ril 'panic[(]' /srv/svc-12892 --exclude-dir=vendor
query JSON data for svc-12893
jq -c '.services | keys[]' /srv/svc-12893/users.json | tee /tmp/svc-12893.out
query journal history for svc-12894
journalctl --since 'today' --no-pager | sed -n '1,20p' | tee /tmp/svc-12894.out | head -n 20
count matches in svc-12895 data
grep -n -A3 -B3 'FIXME' /srv/svc-12895 --exclude='*.min.js' | head -n 10
extract JSON fields for svc-12896
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-12896/config.json | fold -w 120
list matching paths under /srv/svc-12897
find /srv/svc-12897 -type d -empty -newermt '1 day ago' -exec ls -lh {} + 2>/dev/null
query JSON data for svc-12898
jq --indent 2 '.items[] | .name' /srv/svc-12898/health.json | tr -s ' '
filter JSON records for svc-12899
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-12899/health.json | head -n 10
summarize svc-12900 storage use
du -ch /srv/svc-12900/data /srv/svc-12900/logs | paste -sd, -
list git history for /srv/svc-12901
git -C /srv/svc-12901 log --name-status -n 50 --all | sed 's/^/ /'
display docker container details for svc-12902
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | uniq -c | tee /tmp/svc-12902.out | head -n 20
find files under /srv/svc-12903
find /srv/svc-12903 -type l -name '*.json' -size +50M -delete | grep -E '^[^#]'
search the svc-12904 directory tree
find /srv/svc-12904 -mindepth 1 -type f -empty -exec ls -lh {} + 2>&1 | tee /tmp/svc-12904.log
inspect systemd unit state for svc-12905
systemctl reload svc-12905.timer --no-pager 2>/dev/null
find matching lines for svc-12906
grep -Rn 'TODO' /srv/svc-12906 --exclude='*.min.js' | grep -E '^[^#]'
deduplicate svc-12907 log entries
uniq -u /var/log/svc-12907.log | sort
find files under /srv/svc-12908
find /srv/svc-12908 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | sort -u
search the svc-12909 directory tree
find /srv/svc-12909 -mindepth 1 -type f -empty -exec ls -lh {} + | sort -nr
inspect process matches for svc-12910
pgrep -u svc-12910 | tr -s ' '
find matching lines for svc-12911
grep -Ril 'FIXME' /srv/svc-12911 --include='*.py' | cat
list matching paths under /srv/svc-12912
find /srv/svc-12912 -type l -name '*.conf' -size +10M -print >> /tmp/svc-12912.out
find files under /srv/svc-12913
find /srv/svc-12913 -mindepth 1 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
filter log content for svc-12914
grep -v 'secret' /etc/svc-12914 --include='*.py' | sort -u
clean up selected files in /srv/svc-12915
find /srv/svc-12915 -type l -name '*.json' -newermt '1 day ago' -print 2>&1 | tee /tmp/svc-12915.log
extract JSON fields for svc-12916
jq -e '.users[] | select(.active == true) | .email' /srv/svc-12916/users.json | grep -i warn
list matching paths under /srv/svc-12917
find /srv/svc-12917 -type l -name '*.conf' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
find files under /srv/svc-12918
find /srv/svc-12918 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print 2>&1 | tee /tmp/svc-12918.log
filter JSON records for svc-12919
jq -S 'map(select(.status == "failed")) | length' /srv/svc-12919/jobs.json > /tmp/svc-12919.out
read container logs for svc-12920
docker logs --since '24h' svc-12920 | cut -d, -f1
inspect systemd unit state for svc-12921
systemctl restart svc-12921.socket | cut -d: -f1
query systemd status for svc-12922
systemctl status svc-12922.service --no-block | head -n 50
show git status for /srv/svc-12923
git -C /srv/svc-12923 status --branch | tee -a /tmp/svc-12923.log
check changed files in /srv/svc-12924
git -C /srv/svc-12924 status --short --untracked-files=normal | uniq -c
clean up selected files in /srv/svc-12925
find /srv/svc-12925 -type l -name '*.conf' -size +10M -delete || true
locate matching files in /srv/svc-12926
find /srv/svc-12926 -type f -name '*.tmp' -mtime +7 -print | cut -d, -f1
list matching paths under /srv/svc-12927
find /srv/svc-12927 -mindepth 1 -type f -empty -size +50M -print
check resource use for svc-12928
ps -u svc-12928 -o pid,comm,%cpu --sort=-%cpu 2>&1 | tee /tmp/svc-12928.log
show running containers for svc-12929
docker ps -q --format '{{.Names}}' | grep -v '^#' | tee /tmp/svc-12929.out | head -n 20
clean up selected files in /srv/svc-12930
find /srv/svc-12930 -type l -name '*.tmp' -size +10M -exec ls -lh {} + | tr -s ' '
extract JSON fields for svc-12931
jq -S '.items[] | .name' /srv/svc-12931/users.json | tac
verify a network port for svc-12932
nc -zv svc-12932.example.com 5432 | awk '{print $1}'
find files under /srv/svc-12933
find /srv/svc-12933 -type f -name '*.conf' -size +10M -delete | sed -n '1,20p'
search the svc-12934 directory tree
find /srv/svc-12934 -type f -name '*.tmp' -mtime +30 -print | sort -n
list repository status details in /srv/svc-12935
git -C /srv/svc-12935 status --porcelain=v2 --show-stash --untracked-files=normal > /tmp/svc-12935.out
locate matching files in /srv/svc-12936
find /srv/svc-12936 -type l -name '*.tmp' -size +50M -delete | head -n 20
inspect pending changes in /srv/svc-12937
git -C /srv/svc-12937 diff --stat src/ | tee /tmp/svc-12937.out
save a commit message for /srv/svc-12938
git -C /srv/svc-12938 commit --amend --no-edit --allow-empty | tr -s ' '
filter log content for svc-12939
grep -Ril 'secret' /etc/svc-12939 | grep -v '^#'
inspect process matches for svc-12940
pgrep -c -f svc-12940 | tail -n 5
inspect systemd unit state for svc-12941
systemctl stop svc-12941.socket --no-pager | tail -n 10
scan configuration files for svc-12942
grep -n -A3 -B3 'ERROR' /var/log/svc-12942.log --include='*.py' | head -n 5
show running containers for svc-12943
docker ps -q --format '{{.ID}} {{.Image}}' | paste -sd, - | tee /tmp/svc-12943.out | head -n 20
filter JSON records for svc-12944
jq -S '.items[] | select(.id == 12944) | .name' /srv/svc-12944/data.json | uniq
count matches in svc-12945 data
grep -Ril 'WARN' /var/log/svc-12945.log --exclude-dir=vendor | sort
display the working tree state in /srv/svc-12946
git -C /srv/svc-12946 status --ignored --untracked-files=all 2>&1 | tee /tmp/svc-12946.log
show running containers for svc-12947
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | uniq -c | tee /tmp/svc-12947.out | head -n 20
find files under /srv/svc-12948
find /srv/svc-12948 -type f -name '*.json' -mtime +7 -print | wc -l
filter JSON records for svc-12949
jq -e '.items[] | .name' /srv/svc-12949/data.json 2>&1
clean up svc-12950 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-12950/config.ini | head -n 20
locate matching files in /srv/svc-12951
find /srv/svc-12951 -type l -name '*.json' -mtime +30 -exec gzip {} +
list matching paths under /srv/svc-12952
find /srv/svc-12952 -maxdepth 2 -type f -name '*.json' -delete | awk '{print $2}'
read journal entries for svc-12953
journalctl --since 'today' -n 500 | tail -n 50 | tee /tmp/svc-12953.out | head -n 20
search the svc-12954 directory tree
find /srv/svc-12954 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | tac
count matches in svc-12955 data
grep -n -A3 -B3 'secret' /etc/svc-12955 --include='*.py' | grep -i error
locate matching files in /srv/svc-12956
find /srv/svc-12956 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | wc -l
copy application data for svc-12957
rsync -av --bwlimit=5000 /srv/svc-12957/ backup@host:/backups/svc-12957/ | cut -d: -f1
search text for svc-12958
grep -n -A3 -B3 'timeout' /var/log/svc-12958.log --include='*.py' 2>/dev/null
search the svc-12959 directory tree
find /srv/svc-12959 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
process log fields for svc-12960
awk -F: 'NR % 100 == 0 {print NR, $0}' /var/log/svc-12960/app.log | grep -E '^[^#]'
locate matching files in /srv/svc-12961
find /srv/svc-12961 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | wc -l
list matching paths under /srv/svc-12962
find /srv/svc-12962 -type d -name '*.json' -size +50M -exec ls -lh {} + | grep -i error
query JSON data for svc-12963
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-12963/health.json | tail -n 5
read container logs for svc-12964
docker logs --tail 50 -f svc-12964 | grep -i error | wc -l
list repository status details in /srv/svc-12965
git -C /srv/svc-12965 status --porcelain=v2 --branch --untracked-files=normal | head -n 50
query systemd status for svc-12966
systemctl status svc-12966.timer | grep -i error
inspect running tasks for svc-12967
ps -C svc-12967 -o pid,etime,cmd | wc -l
find files under /srv/svc-12968
find /srv/svc-12968 -type f -name '*.log' -mtime +7 -exec gzip {} + | less
display recent container output for svc-12969
docker logs --since '24h' --timestamps svc-12969 | tail -n 20
clean up selected files in /srv/svc-12970
find /srv/svc-12970 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | rev
locate matching files in /srv/svc-12971
find /srv/svc-12971 -mindepth 1 -type f -name '*.json' -size +50M -delete | cat
list matching paths under /srv/svc-12972
find /srv/svc-12972 -mindepth 1 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
find files under /srv/svc-12973
find /srv/svc-12973 -maxdepth 2 -type f -empty -size +10M -exec ls -lh {} + 2>/dev/null
display docker container details for svc-12974
docker ps -q --filter 'label=app=svc-12974' 2>&1 | tee /tmp/svc-12974.log
clean up selected files in /srv/svc-12975
find /srv/svc-12975 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
locate matching files in /srv/svc-12976
find /srv/svc-12976 -mindepth 1 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 50
list matching paths under /srv/svc-12977
find /srv/svc-12977 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | grep -i warn
search text for svc-12978
grep -v 'WARN' /var/log/svc-12978.log --exclude='*.min.js' 2>/dev/null
filter JSON records for svc-12979
jq -r '.metadata' /srv/svc-12979/health.json | wc -l
clean up selected files in /srv/svc-12980
find /srv/svc-12980 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | wc -l
locate matching files in /srv/svc-12981
find /srv/svc-12981 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | tail -n 50