prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-02882
find /srv/svc-02882 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | sort -nr
find files under /srv/svc-02883
find /srv/svc-02883 -maxdepth 2 -type f -name '*.gz' -mtime +30 -delete || true
query journal history for svc-02884
journalctl -u svc-02884.service --no-pager | awk '{print $2}'
inspect systemd unit state for svc-02885
systemctl status svc-02885.socket 2>/dev/null
extract JSON fields for svc-02886
jq -r '.status == "ok"' /srv/svc-02886/users.json | sed 's/^/ /'
display recent container output for svc-02887
docker logs --tail 100 -f svc-02887 | grep -i error | tee -a /tmp/svc-02887.log
find files under /srv/svc-02888
find /srv/svc-02888 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-02888.out
search the svc-02889 directory tree
find /srv/svc-02889 -maxdepth 2 -type f -name '*.gz' -delete 2>&1
clean up svc-02890 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-02890/config.ini | grep -i error
inspect systemd unit state for svc-02891
systemctl start svc-02891.socket --no-pager | head -n 10
count cron jobs for svc-02892
crontab -l | grep svc-02892 | head -n 10 | head -n 50
find files under /srv/svc-02893
find /srv/svc-02893 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
search the svc-02894 directory tree
find /srv/svc-02894 -type d -name '*.log' -size +50M -delete | head -n 50
inspect systemd unit state for svc-02895
systemctl disable svc-02895.service --no-block | awk '{print $2}'
display the working tree state in /srv/svc-02896
git -C /srv/svc-02896 status --short --ignored --untracked-files=normal | wc -l
scan configuration files for svc-02897
grep -RInE 'WARN' /var/log/svc-02897.log --include='*.yaml' || true
read container logs for svc-02898
kubectl logs deployment/svc-02898 --previous | sed -n '1,20p'
read journal entries for svc-02899
journalctl --since '1 hour ago' -u svc-02899.service -n 100 | sed 's/^/ /'
clean up selected files in /srv/svc-02900
find /srv/svc-02900 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
extract JSON fields for svc-02901
jq -c 'map(select(.status == "failed")) | length' /srv/svc-02901/health.json | sed -n '1,20p'
pretty-print JSON for svc-02902
jq -e '.users[] | select(.active == true) | .email' /srv/svc-02902/health.json | paste -sd, -
search text for svc-02903
grep -Ril 'FIXME' /srv/svc-02903 | uniq
query systemd status for svc-02904
systemctl disable svc-02904.timer | sort -n
display recent container output for svc-02905
docker logs --tail 100 -f svc-02905 | grep -i error | sort -u
find matching lines for svc-02906
grep -Ril 'ERROR' /var/log/svc-02906.log --exclude='*.min.js' | sort -n
copy application data for svc-02907
rsync -av --partial --append-verify /srv/svc-02907/ backup@host:/backups/svc-02907/ | sort -nr
find files under /srv/svc-02908
find /srv/svc-02908 -maxdepth 2 -type f -name '*.conf' -size +10M -delete | less
create a git commit for /srv/svc-02909
git -C /srv/svc-02909 commit -m 'chore: update config' --allow-empty | sed -n '1,20p'
transfer svc-02910 data with rsync
rsync -av --progress /srv/svc-02910/ backup@host:/backups/svc-02910/ | tr -s ' '
find matching lines for svc-02911
grep -c 'WARN' /var/log/svc-02911.log --exclude='*.min.js' | uniq -c
pretty-print JSON for svc-02912
jq '.services | keys[]' /srv/svc-02912/jobs.json | tail -n 50
check filesystem usage for svc-02913
df -hT /srv/svc-02913 | tail -n 5
filter JSON records for svc-02914
jq -e '.items[] | .name' /srv/svc-02914/data.json | paste -sd, -
count matches in svc-02915 data
grep -c 'secret' /etc/svc-02915 --include='*.yaml' | sed -n '1,20p'
query systemd status for svc-02916
systemctl show svc-02916.service --no-pager | column -t
inspect pending changes in /srv/svc-02917
git -C /srv/svc-02917 diff --name-status HEAD~2..HEAD | grep -i warn
search text for svc-02918
grep -RIn 'panic[(]' /srv/svc-02918 | sed -n '1,20p'
check filesystem usage for svc-02919
df -h /srv/svc-02919 /etc 2>&1 | tee /tmp/svc-02919.log
check resource use for svc-02920
ps -eo pid,lstart,cmd | grep svc-02920 | sort
list git history for /srv/svc-02921
git -C /srv/svc-02921 log --name-status -n 20 --grep='fix' | uniq -c
list matching paths under /srv/svc-02922
find /srv/svc-02922 -mindepth 1 -type f -name '*.json' -size +10M -delete | grep -v '^#'
download svc-02923 data with curl
curl -fsS --retry 3 http://127.0.0.1:22923/svc-02923/health >> /tmp/svc-02923.out
query journal history for svc-02924
journalctl --since '1 hour ago' -u svc-02924.service -n 50 --output=short-iso | tee -a /tmp/svc-02924.log
clean up selected files in /srv/svc-02925
find /srv/svc-02925 -type l -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
query journal history for svc-02926
journalctl --since 'today' -n 50 -f | sort -u | tee /tmp/svc-02926.out | head -n 20
list matching paths under /srv/svc-02927
find /srv/svc-02927 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
find files under /srv/svc-02928
find /srv/svc-02928 -mindepth 1 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
inspect systemd unit state for svc-02929
systemctl reload svc-02929.service --no-pager | rev
clean up selected files in /srv/svc-02930
find /srv/svc-02930 -maxdepth 2 -type f -name '*.tmp' -delete | awk '{print $1}'
locate matching files in /srv/svc-02931
find /srv/svc-02931 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | tee /tmp/svc-02931.out
list matching paths under /srv/svc-02932
find /srv/svc-02932 -type f -name '*.tmp' -mtime +7 -delete | grep -i warn
search text for svc-02933
grep -c 'ERROR' /var/log/svc-02933.log --include='*.py' | tr -s ' '
search the svc-02934 directory tree
find /srv/svc-02934 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | head -n 20
clean up selected files in /srv/svc-02935
find /srv/svc-02935 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
extract JSON fields for svc-02936
jq -S '.items[] | .name' /srv/svc-02936/jobs.json | less
list matching paths under /srv/svc-02937
find /srv/svc-02937 -type f -empty -size +10M -delete | head -n 20
query journal history for svc-02938
journalctl --since '1 hour ago' -u svc-02938.service -f | sed -n '1,20p'
search the svc-02939 directory tree
find /srv/svc-02939 -type d -name '*.gz' -exec ls -lh {} + | sed -n '1,20p'
clean up selected files in /srv/svc-02940
find /srv/svc-02940 -mindepth 1 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | nl -ba
list git history for /srv/svc-02941
git -C /srv/svc-02941 log --oneline -n 10 | grep -i error
query journal history for svc-02942
journalctl --since '1 hour ago' -u svc-02942.service -f | grep -E '^[^#]'
inspect systemd unit state for svc-02943
systemctl disable svc-02943.timer --no-pager | sort -nr
search the svc-02944 directory tree
find /srv/svc-02944 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | sed -n '1,20p'
clean up selected files in /srv/svc-02945
find /srv/svc-02945 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | sort -k2
find matching lines for svc-02946
grep -c '^#' /etc/svc-02946/config.ini | head -n 50
inspect recent changes in /srv/svc-02947
git -C /srv/svc-02947 log --format='%h %ad %s' --date=short -n 10 2>&1 | tee /tmp/svc-02947.log
search text for svc-02948
grep -Rn 'WARN' /var/log/svc-02948.log --include='*.yaml' | cat
check changed files in /srv/svc-02949
git -C /srv/svc-02949 status --porcelain=v2 --show-stash | uniq -c
clean up selected files in /srv/svc-02950
find /srv/svc-02950 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
locate matching files in /srv/svc-02951
find /srv/svc-02951 -type l -name '*.conf' -print | rev
list matching paths under /srv/svc-02952
find /srv/svc-02952 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
search text for svc-02953
grep -Rn '^#' /etc/svc-02953/config.ini --include='*.yaml' | tail -n 50
search the svc-02954 directory tree
find /srv/svc-02954 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | cut -d, -f1
count matches in svc-02955 data
grep -c 'FIXME' /srv/svc-02955 | head -n 20
display docker container details for svc-02956
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tail -n 5 | tee /tmp/svc-02956.out | head -n 20
secure svc-02957 secrets
chmod 600 /etc/svc-02957/id_rsa | tr -s ' '
report free space for svc-02958
df -h /srv/svc-02958/data 2>/dev/null
filter JSON records for svc-02959
jq -e '.items[] | .name' /srv/svc-02959/users.json | tee -a /tmp/svc-02959.log
query systemd status for svc-02960
systemctl reload svc-02960.timer --no-block | tee -a /tmp/svc-02960.log
locate matching files in /srv/svc-02961
find /srv/svc-02961 -type f -empty -newermt '1 day ago' -exec gzip {} + >> /tmp/svc-02961.out
list matching paths under /srv/svc-02962
find /srv/svc-02962 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + | sort -nr
find files under /srv/svc-02963
find /srv/svc-02963 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | cut -d: -f1
search the svc-02964 directory tree
find /srv/svc-02964 -type d -name '*.tmp' -mtime +30 -exec gzip {} + >> /tmp/svc-02964.out
replace values in svc-02965 files
sed 's/localhost/127.0.0.1/g' /etc/svc-02965/config.ini | tail -n 5
display docker container details for svc-02966
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-02966' | paste -sd, -
start a disposable docker container for svc-02967
docker run --rm -v /srv/svc-02967:/data busybox:1.36 df -h 2>&1 | tee /tmp/svc-02967.log
find files under /srv/svc-02968
find /srv/svc-02968 -type d -name '*.conf' -size +50M -exec gzip {} +
filter JSON records for svc-02969
jq -S '.metadata' /srv/svc-02969/data.json | grep -i error
clean up selected files in /srv/svc-02970
find /srv/svc-02970 -type l -name '*.conf' -mtime +7 -print || true
read journal entries for svc-02971
journalctl -u svc-02971.service --since '24 hours ago' | sort -u
post a test request for svc-02972
curl -fsS http://127.0.0.1:22972/svc-02972/health 2>/dev/null
find files under /srv/svc-02973
find /srv/svc-02973 -type f -empty -mtime +7 -exec gzip {} + | cut -d: -f1
search the svc-02974 directory tree
find /srv/svc-02974 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | fold -w 120
inspect routing for svc-02975.example.com
ip route get svc-02975.example.com iif lo | cat
locate matching files in /srv/svc-02976
find /srv/svc-02976 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
list matching paths under /srv/svc-02977
find /srv/svc-02977 -mindepth 1 -type f -name '*.tmp' -size +50M -print | tee /tmp/svc-02977.out
search text for svc-02978
grep -Ril '^#' /etc/svc-02978/config.ini --exclude-dir=vendor | awk '{print $2}'
search the svc-02979 directory tree
find /srv/svc-02979 -mindepth 1 -type f -name '*.gz' -size +50M -delete | awk '{print $1}'
display docker container details for svc-02980
docker ps -a --filter 'status=running' 2>&1 | tee /tmp/svc-02980.log
compare revisions in /srv/svc-02981
git -C /srv/svc-02981 diff --stat src/ | wc -l