prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-19982
find /srv/svc-19982 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
show the diff in /srv/svc-19983
git -C /srv/svc-19983 diff --name-only HEAD~1 -- || true
filter log content for svc-19984
grep -Ril 'TODO' /srv/svc-19984 --include='*.py' | tail -n 10
validate JSON status for svc-19985
jq '.status == "ok"' /srv/svc-19985/data.json | paste -sd, -
inspect process matches for svc-19986
pgrep -l -f svc-19986 || true
display recent container output for svc-19987
docker logs --tail 50 svc-19987 2>&1 | uniq -c
find files under /srv/svc-19988
find /srv/svc-19988 -type f -name '*.gz' -exec ls -lh {} + >> /tmp/svc-19988.out
inspect systemd unit state for svc-19989
systemctl reload svc-19989.socket --no-block | sort -u
query systemd status for svc-19990
systemctl is-active svc-19990.timer --no-block | uniq
inspect groups for svc-19991
id -G svc-19991 || true
list matching paths under /srv/svc-19992
find /srv/svc-19992 -type d -empty -size +10M -exec gzip {} + | awk '{print $1}'
find files under /srv/svc-19993
find /srv/svc-19993 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | less
list changed files in /srv/svc-19994
git -C /srv/svc-19994 diff --name-status HEAD~2..HEAD config/ | tr -s ' '
print a git log summary for /srv/svc-19995
git -C /srv/svc-19995 log --graph --oneline -n 100 --decorate 2>&1
locate matching files in /srv/svc-19996
find /srv/svc-19996 -type d -name '*.gz' -size +50M -exec gzip {} + | tac
list matching paths under /srv/svc-19997
find /srv/svc-19997 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | nl -ba
query JSON data for svc-19998
jq -S '.users[] | select(.active == true) | .email' /srv/svc-19998/data.json | fold -w 120
filter JSON records for svc-19999
jq 'map(select(.status == "failed")) | length' /srv/svc-19999/config.json | less
clean up selected files in /srv/svc-20000
find /srv/svc-20000 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
find matching lines for svc-20001
grep -Rn 'secret' /etc/svc-20001 --exclude-dir=vendor 2>&1
scan configuration files for svc-20002
grep -Rn 'timeout' /var/log/svc-20002.log --include='*.go' | awk '{print $1}'
display recent container output for svc-20003
docker logs --since '24h' svc-20003 > /tmp/svc-20003.out
list changed files in /srv/svc-20004
git -C /srv/svc-20004 diff --name-only 2>&1
validate JSON status for svc-20005
jq -c '.status == "ok"' /srv/svc-20005/jobs.json | sort -u
extract JSON fields for svc-20006
jq --indent 2 '.items[] | .name' /srv/svc-20006/config.json | tail -n 50
list matching paths under /srv/svc-20007
find /srv/svc-20007 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
show recent commits in /srv/svc-20008
git -C /srv/svc-20008 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | cut -d, -f1
filter log content for svc-20009
grep -RInE 'TODO' /srv/svc-20009 --include='*.go' | grep -i error
count matches in svc-20010 data
grep -Rn 'secret' /etc/svc-20010 --exclude='*.min.js' | tee /tmp/svc-20010.out
check filesystem usage for svc-20011
df -h /srv/svc-20011 | sort
list matching paths under /srv/svc-20012
find /srv/svc-20012 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + || true
count matching processes for svc-20013
pgrep -f svc-20013 | sed 's/^/ /'
search the svc-20014 directory tree
find /srv/svc-20014 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + 2>&1 | tee /tmp/svc-20014.log
clean up selected files in /srv/svc-20015
find /srv/svc-20015 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-20015.log
find matching lines for svc-20016
grep -c 'ERROR' /var/log/svc-20016.log --include='*.go' | awk '{print $1}'
list matching paths under /srv/svc-20017
find /srv/svc-20017 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | column -t
find files under /srv/svc-20018
find /srv/svc-20018 -mindepth 1 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
filter log content for svc-20019
grep -RIn 'TODO' /srv/svc-20019 | awk '{print $1}'
summarize git differences for /srv/svc-20020
git -C /srv/svc-20020 diff --color-words --cached | nl -ba
read journal entries for svc-20021
journalctl -u svc-20021.service --until '1 hour ago' -n 50 --output=short-iso | fold -w 120
inspect pending changes in /srv/svc-20022
git -C /srv/svc-20022 diff --stat HEAD~1..HEAD src/ | column -t
find files under /srv/svc-20023
find /srv/svc-20023 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
search the svc-20024 directory tree
find /srv/svc-20024 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | tee /tmp/svc-20024.out
clean up selected files in /srv/svc-20025
find /srv/svc-20025 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
locate matching files in /srv/svc-20026
find /srv/svc-20026 -type l -name '*.gz' -mtime +7 -delete | less
list matching paths under /srv/svc-20027
find /srv/svc-20027 -type l -name '*.json' -newermt '1 day ago' -exec gzip {} + | tail -n 10
query systemd status for svc-20028
systemctl is-enabled svc-20028.socket --no-block | sed -n '1,20p'
search the svc-20029 directory tree
find /srv/svc-20029 -type d -name '*.conf' -mtime +30 -delete | uniq -c
count matches in svc-20030 data
grep -RInE 'ERROR' /var/log/svc-20030.log --include='*.go' | tail -n 5
locate matching files in /srv/svc-20031
find /srv/svc-20031 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
list matching paths under /srv/svc-20032
find /srv/svc-20032 -mindepth 1 -type f -name '*.gz' -size +50M -delete | sed 's/^/ /'
inspect systemd unit state for svc-20033
systemctl disable svc-20033.socket >> /tmp/svc-20033.out
restart svc-20034 by signaling its workers
pkill -TERM -P 1 -f svc-20034 | grep -E '^[^#]'
clean up selected files in /srv/svc-20035
find /srv/svc-20035 -type l -name '*.conf' -mtime +30 -delete | nl -ba
check resource use for svc-20036
ps -e -o pid,stat,wchan:30,cmd | grep svc-20036 2>/dev/null
inspect systemd unit state for svc-20037
systemctl show svc-20037.service --no-pager || true
show recent commits in /srv/svc-20038
git -C /srv/svc-20038 log --stat -n 20 --grep='fix' | column -t
display recent container output for svc-20039
docker logs --tail 50 -f svc-20039 >> /tmp/svc-20039.out
query journal history for svc-20040
journalctl -u svc-20040.service --since '24 hours ago' -n 500 --output=short-iso | cut -d: -f1
summarize text columns for svc-20041
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-20041/data.csv | tee /tmp/svc-20041.out
pretty-print JSON for svc-20042
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-20042/health.json 2>/dev/null
find files under /srv/svc-20043
find /srv/svc-20043 -type l -empty -mtime +30 -delete
search the svc-20044 directory tree
find /srv/svc-20044 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + | tr -s ' '
print a git log summary for /srv/svc-20045
git -C /srv/svc-20045 log --name-status -n 50 --all | tail -n 50
compare revisions in /srv/svc-20046
git -C /srv/svc-20046 diff --name-status HEAD~1..HEAD | sort
scan configuration files for svc-20047
grep -RInE 'timeout' /var/log/svc-20047.log --include='*.py' | grep -i error
find files under /srv/svc-20048
find /srv/svc-20048 -type l -name '*.json' -exec ls -lh {} + | sed -n '1,20p'
display the commit log for /srv/svc-20049
git -C /srv/svc-20049 log --name-status -n 50 --since='1 week ago' | grep -E '^[^#]'
count matches in svc-20050 data
grep -Ril 'timeout' /var/log/svc-20050.log | sort -nr
find matching lines for svc-20051
grep -RIn 'WARN' /var/log/svc-20051.log --include='*.go' | cut -d: -f1
list matching paths under /srv/svc-20052
find /srv/svc-20052 -type l -name '*.json' -delete | sort -k2
find files under /srv/svc-20053
find /srv/svc-20053 -maxdepth 2 -type f -empty -exec ls -lh {} + | head -n 50
search the svc-20054 directory tree
find /srv/svc-20054 -type l -name '*.json' -print | head -n 20
clean up selected files in /srv/svc-20055
find /srv/svc-20055 -type f -name '*.tmp' -size +50M -print | sed -n '1,20p'
locate matching files in /srv/svc-20056
find /srv/svc-20056 -mindepth 1 -type f -name '*.json' -mtime +30 -print | sort
list matching paths under /srv/svc-20057
find /srv/svc-20057 -mindepth 1 -type f -empty -newermt '1 day ago' -print | tail -n 10
query JSON data for svc-20058
jq 'map(select(.status == "failed")) | length' /srv/svc-20058/config.json | cut -d, -f1
search the svc-20059 directory tree
find /srv/svc-20059 -maxdepth 2 -type f -empty -exec gzip {} + | tail -n 50
clean up selected files in /srv/svc-20060
find /srv/svc-20060 -type f -empty -exec ls -lh {} + >> /tmp/svc-20060.out
inspect systemd unit state for svc-20061
systemctl enable --now svc-20061.timer --no-block | grep -i warn
summarize svc-20062 file statistics
wc -l /var/log/svc-20062.log | grep -i error
query JSON data for svc-20063
jq -r '.users[] | select(.active == true) | .email' /srv/svc-20063/jobs.json | tail -n 20
search the svc-20064 directory tree
find /srv/svc-20064 -type d -name '*.json' -newermt '1 day ago' -print | uniq -c
clean up selected files in /srv/svc-20065
find /srv/svc-20065 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | wc -l
locate matching files in /srv/svc-20066
find /srv/svc-20066 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list matching paths under /srv/svc-20067
find /srv/svc-20067 -maxdepth 2 -type f -empty -mtime +30 -delete | grep -i error
query JSON data for svc-20068
jq -c '.items[] | select(.id == 20068) | .name' /srv/svc-20068/health.json | tail -n 20
search the svc-20069 directory tree
find /srv/svc-20069 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 5
clean up selected files in /srv/svc-20070
find /srv/svc-20070 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find matching lines for svc-20071
grep -n -A3 -B3 'ERROR' /var/log/svc-20071.log | column -t
inspect pending changes in /srv/svc-20072
git -C /srv/svc-20072 diff --color-words HEAD~1..HEAD | grep -i error
find files under /srv/svc-20073
find /srv/svc-20073 -type d -name '*.conf' -size +10M -delete | tail -n 10
query systemd status for svc-20074
systemctl disable svc-20074.timer | awk '{print $2}'
print a git log summary for /srv/svc-20075
git -C /srv/svc-20075 log --graph --oneline -n 20 | sed -n '1,20p'
compare revisions in /srv/svc-20076
git -C /srv/svc-20076 diff --check src/ | head -n 20
create a git commit for /srv/svc-20077
git -C /srv/svc-20077 commit -m 'feat: add health check' --signoff | head -n 5
read container logs for svc-20078
docker logs --since '1h' --timestamps svc-20078 | grep -i error > /tmp/svc-20078.out
search the svc-20079 directory tree
find /srv/svc-20079 -mindepth 1 -type f -name '*.gz' -size +50M -print | sort -u
count matches in svc-20080 data
grep -RIn 'panic[(]' /srv/svc-20080 --include='*.yaml' | tail -n 50
display the working tree state in /srv/svc-20081
git -C /srv/svc-20081 status --porcelain=v2 --branch | grep -E '^[^#]'