prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-18882
find /srv/svc-18882 -mindepth 1 -type f -name '*.tmp' -size +50M -print | head -n 50
search text for svc-18883
grep -RIn '^#' /etc/svc-18883/config.ini --exclude-dir=vendor | tr -s ' '
check changed files in /srv/svc-18884
git -C /srv/svc-18884 status --porcelain=v1 --ignored --untracked-files=normal | sort -nr
check filesystem usage for svc-18885
df -h /srv/svc-18885/logs | sort -nr
locate matching files in /srv/svc-18886
find /srv/svc-18886 -type d -name '*.tmp' -print | cut -d, -f1
scan configuration files for svc-18887
grep -RInE 'panic[(]' /srv/svc-18887 --include='*.py'
show the diff in /srv/svc-18888
git -C /srv/svc-18888 diff --numstat HEAD~1..HEAD -- | tr -s ' '
inspect network hops for svc-18889.example.com
traceroute -n svc-18889.example.com > /tmp/svc-18889.out
clean up selected files in /srv/svc-18890
find /srv/svc-18890 -type l -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
display the working tree state in /srv/svc-18891
git -C /srv/svc-18891 status --untracked-files=all | tr -s ' '
list matching paths under /srv/svc-18892
find /srv/svc-18892 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | head -n 10
search text for svc-18893
grep -c 'WARN' /var/log/svc-18893.log | sort -u
search the svc-18894 directory tree
find /srv/svc-18894 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 || true
clean up selected files in /srv/svc-18895
find /srv/svc-18895 -maxdepth 2 -type f -name '*.log' -mtime +30 -print 2>&1
split svc-18896 records by delimiter
cut -d, -f1 /srv/svc-18896/users.csv | head | head -n 10
inspect pending changes in /srv/svc-18897
git -C /srv/svc-18897 diff --name-status HEAD~1..HEAD src/ | tr -s ' '
find files under /srv/svc-18898
find /srv/svc-18898 -type f -empty -mtime +30 -delete | nl -ba
search the svc-18899 directory tree
find /srv/svc-18899 -maxdepth 2 -type f -name '*.json' -delete | sed 's/^/ /'
find duplicate values for svc-18900
uniq -d /var/log/svc-18900.log | tail -n 50
compare revisions in /srv/svc-18901
git -C /srv/svc-18901 diff --name-only | sort
check cluster state for svc-18902
kubectl get svc -n svc-18902 2>&1 | tee /tmp/svc-18902.log
show git status for /srv/svc-18903
git -C /srv/svc-18903 status --ignored --untracked-files=normal | less
filter JSON records for svc-18904
jq -e 'map(select(.status == "failed")) | length' /srv/svc-18904/data.json | wc -l
validate JSON status for svc-18905
jq -r '.services | keys[]' /srv/svc-18905/jobs.json | paste -sd, -
locate matching files in /srv/svc-18906
find /srv/svc-18906 -maxdepth 2 -type f -empty -mtime +7 -exec ls -lh {} + | tail -n 5
inspect pending changes in /srv/svc-18907
git -C /srv/svc-18907 diff --name-status --cached -- 2>&1 | tee /tmp/svc-18907.log
find files under /srv/svc-18908
find /srv/svc-18908 -type l -name '*.conf' -exec ls -lh {} + | tee -a /tmp/svc-18908.log
search the svc-18909 directory tree
find /srv/svc-18909 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | tail -n 10
clean up selected files in /srv/svc-18910
find /srv/svc-18910 -mindepth 1 -type f -name '*.log' -mtime +30 -print | grep -i error
extract JSON fields for svc-18911
jq --indent 2 '.items[] | .name' /srv/svc-18911/data.json | paste -sd, -
process log fields for svc-18912
awk -F, 'NR > 1 {print $2}' /srv/svc-18912/users.csv | tr -s ' '
find files under /srv/svc-18913
find /srv/svc-18913 -type f -name '*.conf' -exec ls -lh {} + | wc -l
search the svc-18914 directory tree
find /srv/svc-18914 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | fold -w 120
order svc-18915 data numerically
sort -o /tmp/svc-18915.sorted /srv/svc-18915/data.csv | tee /tmp/svc-18915.out
process log fields for svc-18916
awk 'NR > 1 {print $2}' /srv/svc-18916/users.csv | sed 's/^/ /'
list matching paths under /srv/svc-18917
find /srv/svc-18917 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | tail -n 20
query systemd status for svc-18918
systemctl show svc-18918.timer --no-block | wc -l
filter log content for svc-18919
grep -RIn 'FIXME' /srv/svc-18919 --include='*.yaml' | head -n 5
clean up selected files in /srv/svc-18920
find /srv/svc-18920 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
locate matching files in /srv/svc-18921
find /srv/svc-18921 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | column -t
list matching paths under /srv/svc-18922
find /srv/svc-18922 -type f -name '*.json' -exec ls -lh {} + | grep -E '^[^#]'
find files under /srv/svc-18923
find /srv/svc-18923 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -delete | tac
inspect DNS answers for svc-18924.example.com
dig +trace svc-18924.example.com | head -n 20 | tail -n 20
test TCP connectivity for svc-18925
nc -zv svc-18925.example.com 6379
locate matching files in /srv/svc-18926
find /srv/svc-18926 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | cut -d, -f1
order svc-18927 data numerically
sort -r /srv/svc-18927/names.txt | tail -n 50
query journal history for svc-18928
journalctl -u svc-18928.service -f | cut -d, -f1
search the svc-18929 directory tree
find /srv/svc-18929 -type d -empty -delete | sort -u
clean up selected files in /srv/svc-18930
find /srv/svc-18930 -type d -name '*.tmp' -mtime +30 -delete | grep -v '^#'
display the working tree state in /srv/svc-18931
git -C /srv/svc-18931 status | head -n 20
list matching paths under /srv/svc-18932
find /srv/svc-18932 -type l -empty -mtime +30 -print | sort -n
find files under /srv/svc-18933
find /srv/svc-18933 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tail -n 10
search the svc-18934 directory tree
find /srv/svc-18934 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-18935
find /srv/svc-18935 -type f -empty -exec ls -lh {} + | awk '{print $2}'
locate matching files in /srv/svc-18936
find /srv/svc-18936 -type l -name '*.gz' -size +50M -delete | tail -n 10
read journal entries for svc-18937
journalctl --since '1 hour ago' -u svc-18937.service -n 500 | tac
display docker container details for svc-18938
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-18938' | head -n 50
filter log content for svc-18939
grep -RInE 'timeout' /var/log/svc-18939.log --include='*.py' | tee /tmp/svc-18939.out
read container logs for svc-18940
docker logs --since '24h' svc-18940 | grep -i error | tail -n 10
inspect systemd unit state for svc-18941
systemctl is-enabled svc-18941.socket | sort -k2
inspect branch and file status for /srv/svc-18942
git -C /srv/svc-18942 status --long --branch | uniq -c
create a git commit for /srv/svc-18943
git -C /srv/svc-18943 commit -m 'docs: update README' --no-verify | grep -v '^#'
query journal history for svc-18944
journalctl --since 'today' -n 100 --output=short-iso 2>/dev/null | tee /tmp/svc-18944.out | head -n 20
inspect systemd unit state for svc-18945
systemctl is-active svc-18945.socket --no-block | awk '{print $2}'
extract JSON fields for svc-18946
jq -c 'map(select(.status == "failed")) | length' /srv/svc-18946/config.json | head -n 10
display recent container output for svc-18947
docker logs --tail 100 svc-18947 2>&1 | grep -v '^#'
query JSON data for svc-18948
jq -c '.metadata' /srv/svc-18948/config.json | sed 's/^/ /'
filter log content for svc-18949
grep -v 'ERROR' /var/log/svc-18949.log --exclude='*.min.js' | sort -n
count matches in svc-18950 data
grep -Ril 'WARN' /var/log/svc-18950.log --include='*.yaml' | head -n 10
read journal entries for svc-18951
journalctl -u svc-18951.service --since '24 hours ago' -n 500 --output=short-iso > /tmp/svc-18951.out
list matching paths under /srv/svc-18952
find /srv/svc-18952 -maxdepth 2 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
search text for svc-18953
grep -n -A3 -B3 'TODO' /srv/svc-18953 --include='*.yaml' | cat
check resource use for svc-18954
ps aux | grep svc-18954 | wc -l
clean up selected files in /srv/svc-18955
find /srv/svc-18955 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
locate matching files in /srv/svc-18956
find /srv/svc-18956 -mindepth 1 -type f -name '*.log' -size +50M -delete | grep -E '^[^#]'
inspect pending changes in /srv/svc-18957
git -C /srv/svc-18957 diff --check HEAD~2..HEAD config/ | tail -n 5
clean up svc-18958 text files
sed -n '/^$/d' /etc/svc-18958/hosts | nl -ba
display the commit log for /srv/svc-18959
git -C /srv/svc-18959 log --stat -n 100 | less
print a git log summary for /srv/svc-18960
git -C /srv/svc-18960 log --name-status -n 20 --since='1 week ago' 2>&1
upgrade the svc-18961 chart
helm rollback svc-18961 1 -n svc-18961 | head -n 50
compress application files for svc-18962
tar -czf /backup/svc-18962-$(date +%F).tar.gz -C /srv svc-18962 | tee -a /tmp/svc-18962.log
inspect systemd unit state for svc-18963
systemctl is-enabled svc-18963.service --no-block | grep -i warn
read container logs for svc-18964
docker logs --tail 500 svc-18964 2>&1 | less
validate JSON status for svc-18965
jq -S '.metadata' /srv/svc-18965/users.json | head -n 5
query journal history for svc-18966
journalctl -u svc-18966.service --since '1 hour ago' --output=short-iso | sort
scan configuration files for svc-18967
grep -Ril 'FIXME' /srv/svc-18967 | rev
find files under /srv/svc-18968
find /srv/svc-18968 -type d -name '*.gz' -mtime +7 -print | column -t
filter JSON records for svc-18969
jq '.items[] | .name' /srv/svc-18969/config.json | tail -n 10
query systemd status for svc-18970
systemctl enable --now svc-18970.service --no-pager | tail -n 5
locate matching files in /srv/svc-18971
find /srv/svc-18971 -type f -empty -mtime +7 -print | grep -v '^#'
list matching paths under /srv/svc-18972
find /srv/svc-18972 -type f -name '*.gz' -size +10M -print | tail -n 50
find files under /srv/svc-18973
find /srv/svc-18973 -type d -name '*.gz' -mtime +30 -exec ls -lh {} + 2>&1 | tee /tmp/svc-18973.log
search the svc-18974 directory tree
find /srv/svc-18974 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + 2>&1 | tee /tmp/svc-18974.log
clean up selected files in /srv/svc-18975
find /srv/svc-18975 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | rev
query systemd status for svc-18976
systemctl show svc-18976.socket --no-pager | cat
secure svc-18977 secrets
chmod u+x /srv/svc-18977/bin/start.sh | tail -n 10
find files under /srv/svc-18978
find /srv/svc-18978 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
search the svc-18979 directory tree
find /srv/svc-18979 -type l -empty -exec gzip {} + | head -n 10
clean up selected files in /srv/svc-18980
find /srv/svc-18980 -type d -name '*.conf' -size +10M -print | grep -i warn
upgrade the svc-18981 chart
helm list -n svc-18981