prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-28982
git -C /srv/svc-28982 log --name-status -n 50 --author='deploy' | less
find files under /srv/svc-28983
find /srv/svc-28983 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
list svc-28984 account details
id -a svc-28984 | sort
query DNS records for svc-28985.example.com
dig +short svc-28985.example.com AAAA
find matching lines for svc-28986
grep -Ril 'FIXME' /srv/svc-28986 --exclude-dir=vendor | nl -ba
scan configuration files for svc-28987
grep -Ril 'TODO' /srv/svc-28987 --exclude-dir=vendor | sort -nr
display docker container details for svc-28988
docker ps -a | nl -ba | tee /tmp/svc-28988.out | head -n 20
search the svc-28989 directory tree
find /srv/svc-28989 -type d -empty -size +10M -delete | tr -s ' '
clean up selected files in /srv/svc-28990
find /srv/svc-28990 -type f -name '*.json' -mtime +30 -print | cut -d: -f1
find matching lines for svc-28991
grep -RInE 'panic[(]' /srv/svc-28991 --exclude-dir=vendor || true
query journal history for svc-28992
journalctl --since 'today' -n 500 -f | tee -a /tmp/svc-28992.log
find files under /srv/svc-28993
find /srv/svc-28993 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | head -n 20
search the svc-28994 directory tree
find /srv/svc-28994 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print | tee -a /tmp/svc-28994.log
summarize git differences for /srv/svc-28995
git -C /srv/svc-28995 diff --name-only --cached src/ | head -n 20
list git history for /srv/svc-28996
git -C /srv/svc-28996 log --name-status -n 50 --author='deploy' | cut -d, -f1
list matching paths under /srv/svc-28997
find /srv/svc-28997 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
find files under /srv/svc-28998
find /srv/svc-28998 -type l -name '*.json' -size +50M -print 2>/dev/null
display the commit log for /srv/svc-28999
git -C /srv/svc-28999 log --oneline -n 10 --author='deploy' | nl -ba
check cluster state for svc-29000
kubectl get pods -A -o wide | grep svc-29000 | head -n 5
locate matching files in /srv/svc-29001
find /srv/svc-29001 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | awk '{print $1}'
list matching paths under /srv/svc-29002
find /srv/svc-29002 -type f -name '*.conf' -print | cut -d: -f1
inspect running tasks for svc-29003
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-29003 | sed -n '1,20p'
query systemd status for svc-29004
systemctl disable svc-29004.service --no-pager 2>&1 | tee /tmp/svc-29004.log
validate JSON status for svc-29005
jq -e 'map(select(.status == "failed")) | length' /srv/svc-29005/config.json | sed 's/^/ /'
clean up svc-29006 text files
sed -n '/^$/d' /etc/svc-29006/hosts | head -n 50
send a signal to svc-29007 workers
pkill -TERM -x svc-29007 | uniq
query JSON data for svc-29008
jq -S '.items[] | .name' /srv/svc-29008/config.json | grep -i warn
search the svc-29009 directory tree
find /srv/svc-29009 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | less
clean up selected files in /srv/svc-29010
find /srv/svc-29010 -type f -name '*.conf' -print 2>&1 | tee /tmp/svc-29010.log
locate matching files in /srv/svc-29011
find /srv/svc-29011 -type d -name '*.gz' -mtime +7 -print | sort -k2
query journal history for svc-29012
journalctl --since '1 hour ago' -u svc-29012.service -f | tail -n 5
check reachability of svc-29013.example.com
ping -c 4 -t 5 svc-29013.example.com
search the svc-29014 directory tree
find /srv/svc-29014 -mindepth 1 -type f -name '*.log' -mtime +30 -print 2>/dev/null
clean up selected files in /srv/svc-29015
find /srv/svc-29015 -type d -name '*.gz' -print 2>&1 | tee /tmp/svc-29015.log
find matching lines for svc-29016
grep -v 'secret' /etc/svc-29016 --include='*.py' | tac
inspect pending changes in /srv/svc-29017
git -C /srv/svc-29017 diff --numstat HEAD~1..HEAD src/ | tee /tmp/svc-29017.out
find files under /srv/svc-29018
find /srv/svc-29018 -type l -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
create a git commit for /srv/svc-29019
git -C /srv/svc-29019 commit -m 'feat: add health check' | cut -d: -f1
clean up selected files in /srv/svc-29020
find /srv/svc-29020 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | head -n 50
list git history for /srv/svc-29021
git -C /srv/svc-29021 log --graph --oneline -n 50 --since='1 week ago' | cat
list matching paths under /srv/svc-29022
find /srv/svc-29022 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | head -n 10
find files under /srv/svc-29023
find /srv/svc-29023 -mindepth 1 -type f -name '*.tmp' -mtime +30 -delete | column -t
search the svc-29024 directory tree
find /srv/svc-29024 -type d -name '*.tmp' -size +10M -print | column -t
clean up selected files in /srv/svc-29025
find /srv/svc-29025 -type l -empty -newermt '1 day ago' -delete | sort -k2
query journal history for svc-29026
journalctl --since 'today' -n 100 -f | tail -n 20 | tee /tmp/svc-29026.out | head -n 20
inspect pending changes in /srv/svc-29027
git -C /srv/svc-29027 diff --name-only HEAD~1 | less
find files under /srv/svc-29028
find /srv/svc-29028 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + | head -n 10
summarize text columns for svc-29029
awk '{print length($0), $0}' /etc/svc-29029/config.ini | sort -nr | head | head -n 20
render the svc-29030 chart
helm get manifest svc-29030 -n svc-29030 | head -n 5
inspect systemd unit state for svc-29031
systemctl show svc-29031.service --no-pager | head -n 5
inspect recent changes in /srv/svc-29032
git -C /srv/svc-29032 log --stat -n 10 --since='1 week ago' | grep -v '^#'
inspect systemd unit state for svc-29033
systemctl is-active svc-29033.timer | rev
sort svc-29034 files with custom fields
sort -k1,1 -k2,2n /srv/svc-29034/data.txt | cut -d: -f1
clean up selected files in /srv/svc-29035
find /srv/svc-29035 -maxdepth 2 -type f -name '*.log' -size +10M -delete | tac
query systemd status for svc-29036
systemctl stop svc-29036.timer --no-block | uniq -c
show running containers for svc-29037
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | uniq | tee /tmp/svc-29037.out | head -n 20
show the diff in /srv/svc-29038
git -C /srv/svc-29038 diff --color-words HEAD~2..HEAD config/ | tail -n 20
copy application data for svc-29039
rsync -av --link-dest=/backups/latest /srv/svc-29039/ backup@host:/backups/svc-29039-new/ | tail -n 5
validate JSON status for svc-29040
jq '.status == "ok"' /srv/svc-29040/users.json | fold -w 120
list git history for /srv/svc-29041
git -C /srv/svc-29041 log --graph --oneline -n 20 --author='deploy' | tac
query journal history for svc-29042
journalctl -u svc-29042.service --until '1 hour ago' -n 100 --output=short-iso | grep -i warn
find files under /srv/svc-29043
find /srv/svc-29043 -mindepth 1 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tee -a /tmp/svc-29043.log
display the commit log for /srv/svc-29044
git -C /srv/svc-29044 log --name-status -n 10 --decorate
clean up selected files in /srv/svc-29045
find /srv/svc-29045 -type f -name '*.log' -print | grep -i error
locate matching files in /srv/svc-29046
find /srv/svc-29046 -mindepth 1 -type f -empty -print | tr -s ' '
list matching paths under /srv/svc-29047
find /srv/svc-29047 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete | tac
search text for svc-29048
grep -RInE 'ERROR' /var/log/svc-29048.log --exclude-dir=vendor | tail -n 10
search the svc-29049 directory tree
find /srv/svc-29049 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-29049.out
clean up selected files in /srv/svc-29050
find /srv/svc-29050 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | grep -v '^#'
extract JSON fields for svc-29051
jq -c '.items[] | .name' /srv/svc-29051/data.json > /tmp/svc-29051.out
scan configuration files for svc-29052
grep -RIn '^#' /etc/svc-29052/config.ini --include='*.go' | cut -d: -f1
display recent container output for svc-29053
docker logs --tail 100 svc-29053 | cut -d, -f1
list changed files in /srv/svc-29054
git -C /srv/svc-29054 diff --name-status HEAD~1 config/ | sed -n '1,20p'
copy application data for svc-29055
rsync -av --partial --append-verify /srv/svc-29055/ backup@host:/backups/svc-29055/ | tee -a /tmp/svc-29055.log
read container logs for svc-29056
docker logs --tail 50 --timestamps svc-29056 | grep -i error | cut -d: -f1
pretty-print JSON for svc-29057
jq -r '.users[] | select(.active == true) | .email' /srv/svc-29057/config.json | head -n 50
search text for svc-29058
grep -Rn 'WARN' /var/log/svc-29058.log --exclude='*.min.js' | head -n 5
inspect running tasks for svc-29059
ps -u svc-29059 -o pid,comm,%cpu --sort=-%cpu | awk '{print $2}'
clean up selected files in /srv/svc-29060
find /srv/svc-29060 -type d -name '*.tmp' -mtime +30 -print | head -n 20
list git history for /srv/svc-29061
git -C /srv/svc-29061 log --name-status -n 20 --since='1 week ago' >> /tmp/svc-29061.out
list matching paths under /srv/svc-29062
find /srv/svc-29062 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | tr -s ' '
read journal entries for svc-29063
journalctl -u svc-29063.service --since '24 hours ago' -n 500 -f | uniq
list changed files in /srv/svc-29064
git -C /srv/svc-29064 diff --numstat --cached -- | uniq -c
inspect systemd unit state for svc-29065
systemctl enable --now svc-29065.timer --no-block | rev
locate matching files in /srv/svc-29066
find /srv/svc-29066 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | sed 's/^/ /'
inspect systemd unit state for svc-29067
systemctl start svc-29067.socket --no-block | nl -ba
find files under /srv/svc-29068
find /srv/svc-29068 -type d -name '*.json' -newermt '1 day ago' -delete | head -n 50
filter JSON records for svc-29069
jq -c '.metadata' /srv/svc-29069/jobs.json | tac
clean up selected files in /srv/svc-29070
find /srv/svc-29070 -type l -name '*.json' -exec gzip {} + | tail -n 10
locate matching files in /srv/svc-29071
find /srv/svc-29071 -type l -name '*.tmp' -mtime +30 -print | cut -d, -f1
pretty-print JSON for svc-29072
jq '.status == "ok"' /srv/svc-29072/data.json 2>&1 | tee /tmp/svc-29072.log
show recent commits in /srv/svc-29073
git -C /srv/svc-29073 log --graph --oneline -n 20 | cat
search the svc-29074 directory tree
find /srv/svc-29074 -type f -empty -size +10M -delete | grep -i error
read journal entries for svc-29075
journalctl -u svc-29075.service --since '1 hour ago' -n 500 2>&1
locate matching files in /srv/svc-29076
find /srv/svc-29076 -maxdepth 2 -type f -name '*.log' -size +50M -delete | sort -u
check filesystem usage for svc-29077
df -h /srv/svc-29077 /etc | tr -s ' '
find files under /srv/svc-29078
find /srv/svc-29078 -type f -name '*.tmp' -size +50M -exec gzip {} + | fold -w 120
show running containers for svc-29079
docker ps -q --filter 'label=app=svc-29079' | sed -n '1,20p'
validate JSON status for svc-29080
jq -c '.users[] | select(.active == true) | .email' /srv/svc-29080/jobs.json | head -n 5
locate matching files in /srv/svc-29081
find /srv/svc-29081 -type f -name '*.conf' -size +50M -exec ls -lh {} + | tee /tmp/svc-29081.out