prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-26882
git -C /srv/svc-26882 diff --name-status HEAD~2..HEAD -- | paste -sd, -
find files under /srv/svc-26883
find /srv/svc-26883 -type d -name '*.json' -mtime +7 -exec ls -lh {} + 2>/dev/null
filter JSON records for svc-26884
jq -r '.status == "ok"' /srv/svc-26884/data.json | tee /tmp/svc-26884.out
summarize text columns for svc-26885
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-26885/app.log | grep -i warn
query systemd status for svc-26886
systemctl disable svc-26886.socket | uniq -c
inspect pending changes in /srv/svc-26887
git -C /srv/svc-26887 diff --check HEAD~1..HEAD | tail -n 50
find files under /srv/svc-26888
find /srv/svc-26888 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | uniq
display recent container output for svc-26889
docker logs --since '1h' svc-26889 | grep -i error | sort -nr
validate JSON status for svc-26890
jq -c '.services | keys[]' /srv/svc-26890/users.json 2>&1 | tee /tmp/svc-26890.log
replace values in svc-26891 files
sed -i '1,120p' /var/log/svc-26891.log | awk '{print $1}'
list matching paths under /srv/svc-26892
find /srv/svc-26892 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | sort -k2
search text for svc-26893
grep -c 'TODO' /srv/svc-26893 --include='*.go' | sort -u
display the commit log for /srv/svc-26894
git -C /srv/svc-26894 log --stat -n 10 --all 2>&1
clean up selected files in /srv/svc-26895
find /srv/svc-26895 -type f -empty -mtime +30 -print | paste -sd, -
summarize svc-26896 file statistics
wc -l /var/log/svc-26896.log | sort -k2
inspect recent changes in /srv/svc-26897
git -C /srv/svc-26897 log --name-status -n 50 --decorate | grep -v '^#'
find files under /srv/svc-26898
find /srv/svc-26898 -type d -empty -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-26898.out
search the svc-26899 directory tree
find /srv/svc-26899 -mindepth 1 -type f -name '*.log' -size +10M -print | nl -ba
count matches in svc-26900 data
grep -Ril 'WARN' /var/log/svc-26900.log --include='*.yaml' | grep -E '^[^#]'
find matching lines for svc-26901
grep -Rn 'ERROR' /var/log/svc-26901.log --include='*.py' | sort -nr
pretty-print JSON for svc-26902
jq -S '.items[] | .name' /srv/svc-26902/data.json > /tmp/svc-26902.out
query JSON data for svc-26903
jq -S '.services | keys[]' /srv/svc-26903/jobs.json | sort -u
set access modes for svc-26904
chmod 644 /etc/svc-26904/config.yml | uniq
validate JSON status for svc-26905
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-26905/jobs.json 2>&1 | tee /tmp/svc-26905.log
find matching lines for svc-26906
grep -RInE 'TODO' /srv/svc-26906 --exclude='*.min.js' | fold -w 120
list matching paths under /srv/svc-26907
find /srv/svc-26907 -type d -name '*.json' -size +10M -delete | head -n 10
find files under /srv/svc-26908
find /srv/svc-26908 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | nl -ba
inspect network hops for svc-26909.example.com
traceroute -n -m 10 svc-26909.example.com | sort -k2
display docker container details for svc-26910
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cut -d, -f1 | tee /tmp/svc-26910.out | head -n 20
display the working tree state in /srv/svc-26911
git -C /srv/svc-26911 status --porcelain=v1 --ignored | paste -sd, -
process log fields for svc-26912
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-26912/access.log | sort | uniq -c | nl -ba
show recent commits in /srv/svc-26913
git -C /srv/svc-26913 log --oneline -n 100 --author='deploy' | nl -ba
query systemd status for svc-26914
systemctl stop svc-26914.service | less
validate JSON status for svc-26915
jq -r 'map(select(.status == "failed")) | length' /srv/svc-26915/config.json | paste -sd, -
locate matching files in /srv/svc-26916
find /srv/svc-26916 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | less
inspect systemd unit state for svc-26917
systemctl restart svc-26917.service
find files under /srv/svc-26918
find /srv/svc-26918 -type f -name '*.tmp' -size +10M -delete | grep -i warn
summarize text columns for svc-26919
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-26919.log | tr -s ' '
print a git log summary for /srv/svc-26920
git -C /srv/svc-26920 log --name-status -n 10 --author='deploy' > /tmp/svc-26920.out
find matching lines for svc-26921
grep -RIn 'WARN' /var/log/svc-26921.log >> /tmp/svc-26921.out
list matching paths under /srv/svc-26922
find /srv/svc-26922 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tail -n 5
find files under /srv/svc-26923
find /srv/svc-26923 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | wc -l
filter log content for svc-26924
grep -n -A3 -B3 'secret' /etc/svc-26924 --include='*.py' | cut -d, -f1
display recent container output for svc-26925
docker logs --tail 50 --timestamps svc-26925 | cut -d, -f1
locate matching files in /srv/svc-26926
find /srv/svc-26926 -mindepth 1 -type f -empty -mtime +30 -exec ls -lh {} + | cut -d, -f1
inspect pending changes in /srv/svc-26927
git -C /srv/svc-26927 diff --name-status origin/main...HEAD config/ | head -n 50
search text for svc-26928
grep -RIn 'WARN' /var/log/svc-26928.log --include='*.go' | tail -n 10
filter log content for svc-26929
grep -Ril '^#' /etc/svc-26929/config.ini --exclude='*.min.js' | grep -v '^#'
clean up selected files in /srv/svc-26930
find /srv/svc-26930 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
count matching processes for svc-26931
pgrep -P 1 -f svc-26931 | sed 's/^/ /'
display docker container details for svc-26932
docker ps --latest --format '{{.ID}} {{.Image}}' | column -t | tee /tmp/svc-26932.out | head -n 20
schedule svc-26933 maintenance with nice
nice -n 5 rsync -a /srv/svc-26933/ /backup/svc-26933/ | uniq
install svc-26934 from source
make -C /srv/svc-26934 clean | grep -v '^#'
inspect systemd unit state for svc-26935
systemctl is-active svc-26935.timer --no-block | tac
find matching lines for svc-26936
grep -c 'timeout' /var/log/svc-26936.log --include='*.yaml' | sort -u
list matching paths under /srv/svc-26937
find /srv/svc-26937 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | sort -k2
find files under /srv/svc-26938
find /srv/svc-26938 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | nl -ba
filter log content for svc-26939
grep -Ril 'ERROR' /var/log/svc-26939.log --include='*.go' 2>/dev/null
execute a container task for svc-26940
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | tee /tmp/svc-26940.out | head -n 20
locate matching files in /srv/svc-26941
find /srv/svc-26941 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | cut -d, -f1
list matching paths under /srv/svc-26942
find /srv/svc-26942 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete | grep -E '^[^#]'
find files under /srv/svc-26943
find /srv/svc-26943 -type l -name '*.log' -size +10M -print | sed 's/^/ /'
check cluster state for svc-26944
kubectl get all -n svc-26944 | column -t
summarize git differences for /srv/svc-26945
git -C /srv/svc-26945 diff --check origin/main...HEAD | sed 's/^/ /'
extract JSON fields for svc-26946
jq 'map(select(.status == "failed")) | length' /srv/svc-26946/data.json | tac
list matching paths under /srv/svc-26947
find /srv/svc-26947 -type f -name '*.json' -size +10M -exec ls -lh {} + | paste -sd, -
search text for svc-26948
grep -v 'WARN' /var/log/svc-26948.log --include='*.py' | head -n 10
search the svc-26949 directory tree
find /srv/svc-26949 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | sort -u
clean up selected files in /srv/svc-26950
find /srv/svc-26950 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
show running containers for svc-26951
docker ps -q --format '{{.Names}}' | cat | tee /tmp/svc-26951.out | head -n 20
list matching paths under /srv/svc-26952
find /srv/svc-26952 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + | awk '{print $2}'
stream pod logs for svc-26953
kubectl logs deployment/svc-26953 -c api --tail=100 | sort -n
search the svc-26954 directory tree
find /srv/svc-26954 -maxdepth 2 -type f -name '*.conf' -size +10M -exec gzip {} + | head -n 20
show running containers for svc-26955
docker ps -q --format '{{.Names}}' | tr -s ' ' | tee /tmp/svc-26955.out | head -n 20
locate matching files in /srv/svc-26956
find /srv/svc-26956 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
list matching paths under /srv/svc-26957
find /srv/svc-26957 -maxdepth 2 -type f -name '*.conf' -size +10M -exec gzip {} + | cut -d: -f1
search text for svc-26958
grep -Rn 'panic[(]' /srv/svc-26958 --exclude='*.min.js' | uniq
search the svc-26959 directory tree
find /srv/svc-26959 -type d -name '*.tmp' -mtime +30 -exec gzip {} + | cut -d, -f1
print a git log summary for /srv/svc-26960
git -C /srv/svc-26960 log --name-status -n 50 --author='deploy' | grep -v '^#'
replace values in svc-26961 files
sed 's/[[:space:]]\+$//' /etc/svc-26961/config.yml | tac
list matching paths under /srv/svc-26962
find /srv/svc-26962 -type d -name '*.log' -print | tail -n 5
query DNS records for svc-26963.example.com
dig svc-26963.example.com TXT | grep -i warn
query systemd status for svc-26964
systemctl is-active svc-26964.service --no-pager | tail -n 50
validate JSON status for svc-26965
jq -e 'map(select(.status == "failed")) | length' /srv/svc-26965/health.json | awk '{print $2}'
locate matching files in /srv/svc-26966
find /srv/svc-26966 -type l -name '*.conf' -size +50M -print | head -n 5
start a disposable docker container for svc-26967
docker run --rm -d -v /srv/svc-26967:/data alpine:3.20 du -sh /data | sort -nr
query systemd status for svc-26968
systemctl reload svc-26968.service --no-block | wc -l
list changed files in /srv/svc-26969
git -C /srv/svc-26969 diff --stat -- | grep -v '^#'
count matches in svc-26970 data
grep -n -A3 -B3 'ERROR' /var/log/svc-26970.log --include='*.py' > /tmp/svc-26970.out
show running containers for svc-26971
docker ps -a --format '{{.ID}} {{.Image}}' | tail -n 10 | tee /tmp/svc-26971.out | head -n 20
scan configuration files for svc-26972
grep -Ril 'ERROR' /var/log/svc-26972.log --include='*.yaml' | uniq
search text for svc-26973
grep -v 'WARN' /var/log/svc-26973.log --exclude-dir=vendor | fold -w 120
summarize svc-26974 file statistics
wc -w /srv/svc-26974/README.md | sed -n '1,20p'
summarize git differences for /srv/svc-26975
git -C /srv/svc-26975 diff --numstat HEAD~2..HEAD config/ | cut -d, -f1
extract JSON fields for svc-26976
jq -r '.metadata' /srv/svc-26976/config.json | wc -l
list matching paths under /srv/svc-26977
find /srv/svc-26977 -type d -name '*.log' -mtime +30 -exec gzip {} + | wc -l
show the diff in /srv/svc-26978
git -C /srv/svc-26978 diff --check HEAD~1..HEAD -- 2>/dev/null
list changed files in /srv/svc-26979
git -C /srv/svc-26979 diff --stat HEAD~1 config/ | column -t
display docker container details for svc-26980
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | tr -s ' ' | tee /tmp/svc-26980.out | head -n 20
locate matching files in /srv/svc-26981
find /srv/svc-26981 -maxdepth 2 -type f -name '*.log' -size +10M -delete | grep -i warn