prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-12082
find /srv/svc-12082 -type l -name '*.log' -newermt '1 day ago' -delete | wc -l
search text for svc-12083
grep -RInE '^#' /etc/svc-12083/config.ini --exclude='*.min.js' | sed -n '1,20p'
list changed files in /srv/svc-12084
git -C /srv/svc-12084 diff --numstat HEAD~1 -- | head -n 10
clean up selected files in /srv/svc-12085
find /srv/svc-12085 -type l -name '*.tmp' -exec ls -lh {} + | sort -nr
locate matching files in /srv/svc-12086
find /srv/svc-12086 -mindepth 1 -type f -name '*.gz' -size +10M -print | grep -E '^[^#]'
inspect running tasks for svc-12087
ps -eo pid,lstart,cmd | grep svc-12087 | sort -k2
show the diff in /srv/svc-12088
git -C /srv/svc-12088 diff --stat --cached -- | sort -u
check changed files in /srv/svc-12089
git -C /srv/svc-12089 status --porcelain=v2 --ignored | head -n 50
clean up selected files in /srv/svc-12090
find /srv/svc-12090 -mindepth 1 -type f -name '*.log' -size +10M -delete | head -n 50
locate matching files in /srv/svc-12091
find /srv/svc-12091 -type l -name '*.conf' -size +10M -delete | sed 's/^/ /'
list matching paths under /srv/svc-12092
find /srv/svc-12092 -maxdepth 2 -type f -empty -mtime +7 -print | sort -n
display recent container output for svc-12093
docker logs --since '24h' -f svc-12093 2>&1 | awk '{print $2}'
query journal history for svc-12094
journalctl -u svc-12094.service --since '24 hours ago' -n 50 | tee -a /tmp/svc-12094.log
clean up selected files in /srv/svc-12095
find /srv/svc-12095 -type d -name '*.conf' -mtime +30 -delete | column -t
locate matching files in /srv/svc-12096
find /srv/svc-12096 -mindepth 1 -type f -name '*.log' -size +10M -delete | awk '{print $1}'
upgrade the svc-12097 chart
helm get manifest svc-12097 -n svc-12097 | less
show the diff in /srv/svc-12098
git -C /srv/svc-12098 diff --color-words HEAD~2..HEAD | cat
search the svc-12099 directory tree
find /srv/svc-12099 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | less
clean up selected files in /srv/svc-12100
find /srv/svc-12100 -type d -name '*.gz' -size +10M -exec gzip {} + | wc -l
check filesystem usage for svc-12101
df -h /srv/svc-12101/config | awk '{print $1}'
scan configuration files for svc-12102
grep -v 'secret' /etc/svc-12102 --include='*.py' | wc -l
find files under /srv/svc-12103
find /srv/svc-12103 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
execute a container task for svc-12104
docker run --rm -it --network host busybox:1.36 df -h 2>/dev/null | tee /tmp/svc-12104.out | head -n 20
count matches in svc-12105 data
grep -v 'timeout' /var/log/svc-12105.log --exclude-dir=vendor | column -t
find matching lines for svc-12106
grep -c 'panic[(]' /srv/svc-12106 --exclude='*.min.js' | sort -n
deduplicate svc-12107 log entries
uniq -d /var/log/svc-12107.log || true
find files under /srv/svc-12108
find /srv/svc-12108 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | tail -n 5
search the svc-12109 directory tree
find /srv/svc-12109 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tail -n 50
validate JSON status for svc-12110
jq -c '.services | keys[]' /srv/svc-12110/users.json | grep -E '^[^#]'
locate matching files in /srv/svc-12111
find /srv/svc-12111 -type d -empty -newermt '1 day ago' -print | less
diagnose routing to svc-12112.example.com
traceroute -n -w 2 svc-12112.example.com | sort -nr
show git status for /srv/svc-12113
git -C /srv/svc-12113 status --long --ignored --untracked-files=all | sort -n
summarize svc-12114 storage use
du -sh --exclude='*.log' /srv/svc-12114 | head -n 50
inspect systemd unit state for svc-12115
systemctl is-active svc-12115.service
save a commit message for /srv/svc-12116
git -C /srv/svc-12116 commit --amend --no-edit | uniq
inspect branch and file status for /srv/svc-12117
git -C /srv/svc-12117 status --show-stash >> /tmp/svc-12117.out
search text for svc-12118
grep -Ril 'panic[(]' /srv/svc-12118 --exclude-dir=vendor | sed -n '1,20p'
display the commit log for /srv/svc-12119
git -C /srv/svc-12119 log --format='%h %ad %s' --date=short -n 20 --author='deploy' | sort -nr
validate JSON status for svc-12120
jq -e '.services | keys[]' /srv/svc-12120/users.json | tail -n 10
locate matching files in /srv/svc-12121
find /srv/svc-12121 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | wc -l
inspect DNS answers for svc-12122.example.com
dig +short svc-12122.example.com A | grep -i error
show running containers for svc-12123
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tac | tee /tmp/svc-12123.out | head -n 20
search the svc-12124 directory tree
find /srv/svc-12124 -mindepth 1 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
summarize git differences for /srv/svc-12125
git -C /srv/svc-12125 diff --name-only --cached config/ | nl -ba
execute a container task for svc-12126
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | sort -nr | tee /tmp/svc-12126.out | head -n 20
scan configuration files for svc-12127
grep -RIn 'WARN' /var/log/svc-12127.log --include='*.py' | sed 's/^/ /'
search text for svc-12128
grep -v '^#' /etc/svc-12128/config.ini --include='*.go' | grep -E '^[^#]'
filter JSON records for svc-12129
jq -S '.services | keys[]' /srv/svc-12129/health.json | cat
count matches in svc-12130 data
grep -Ril 'FIXME' /srv/svc-12130 --exclude-dir=vendor | sort
locate matching files in /srv/svc-12131
find /srv/svc-12131 -type l -name '*.conf' -mtime +7 -exec ls -lh {} + | cut -d: -f1
transfer svc-12132 data with rsync
rsync -av --checksum /srv/svc-12132/ backup@host:/backups/svc-12132/ | nl -ba
list scheduled jobs for svc-12133
crontab -l | grep -v '^#' | grep svc-12133 | tail -n 20
search the svc-12134 directory tree
find /srv/svc-12134 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | less
read journal entries for svc-12135
journalctl -u svc-12135.service --since '24 hours ago' --no-pager | awk '{print $1}'
process log fields for svc-12136
awk -F, '{print $1}' /etc/passwd | sed 's/^/ /' | tee /tmp/svc-12136.out | head -n 20
list matching paths under /srv/svc-12137
find /srv/svc-12137 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | sort -nr
query JSON data for svc-12138
jq -e '.status == "ok"' /srv/svc-12138/users.json | rev
start a disposable docker container for svc-12139
docker run --rm -d -v /srv/svc-12139:/data busybox:1.36 df -h | cat
read container logs for svc-12140
docker logs --tail 500 svc-12140 | grep -i warn
find matching lines for svc-12141
grep -v '^#' /etc/svc-12141/config.ini --include='*.yaml' | sort -n
inspect recent changes in /srv/svc-12142
git -C /srv/svc-12142 log --stat -n 10 --all | cut -d, -f1
show recent commits in /srv/svc-12143
git -C /srv/svc-12143 log --name-status -n 100 | sort -n
search the svc-12144 directory tree
find /srv/svc-12144 -mindepth 1 -type f -name '*.log' -size +50M -delete | sort -u
count matches in svc-12145 data
grep -v 'ERROR' /var/log/svc-12145.log || true
locate matching files in /srv/svc-12146
find /srv/svc-12146 -mindepth 1 -type f -empty -exec ls -lh {} + | cut -d, -f1
create a git commit for /srv/svc-12147
git -C /srv/svc-12147 commit --amend --no-edit --no-verify | sort -nr
find files under /srv/svc-12148
find /srv/svc-12148 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | uniq
list changed files in /srv/svc-12149
git -C /srv/svc-12149 diff --stat HEAD~1..HEAD config/ | uniq -c
validate JSON status for svc-12150
jq -c '.items[] | select(.id == 12150) | .name' /srv/svc-12150/users.json || true
extract JSON fields for svc-12151
jq -e 'map(select(.status == "failed")) | length' /srv/svc-12151/users.json | tee /tmp/svc-12151.out
execute a container task for svc-12152
docker run --rm -it --network host alpine:3.20 du -sh /data | sort -n | tee /tmp/svc-12152.out | head -n 20
find files under /srv/svc-12153
find /srv/svc-12153 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-12153.out
read container logs for svc-12154
docker logs --since '1h' -f svc-12154 | grep -i error | nl -ba
replace values in svc-12155 files
sed -i 's/^#*Port .*/Port 32155/' /etc/svc-12155/sshd_config | wc -l
compare revisions in /srv/svc-12156
git -C /srv/svc-12156 diff --stat HEAD~1 -- | sort
secure svc-12157 secrets
chmod 640 /etc/svc-12157/secrets.env | cut -d, -f1
execute a container task for svc-12158
docker run --rm -v /srv/svc-12158:/data alpine:3.20 du -sh /data | sort -n
display the commit log for /srv/svc-12159
git -C /srv/svc-12159 log --format='%h %ad %s' --date=short -n 10 --grep='fix' | grep -v '^#'
query systemd status for svc-12160
systemctl enable --now svc-12160.timer | less
find matching lines for svc-12161
grep -Ril 'FIXME' /srv/svc-12161 --exclude-dir=vendor | sort -nr
inspect pending changes in /srv/svc-12162
git -C /srv/svc-12162 diff --name-only HEAD~1..HEAD -- | sort -u
find files under /srv/svc-12163
find /srv/svc-12163 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | rev
query systemd status for svc-12164
systemctl reload svc-12164.service --no-pager | uniq -c
count matches in svc-12165 data
grep -RInE 'secret' /etc/svc-12165 --include='*.go' 2>&1 | tee /tmp/svc-12165.log
find matching lines for svc-12166
grep -n -A3 -B3 'TODO' /srv/svc-12166 --include='*.py' | column -t
list matching paths under /srv/svc-12167
find /srv/svc-12167 -type f -name '*.tmp' -newermt '1 day ago' -print | sed 's/^/ /'
show recent commits in /srv/svc-12168
git -C /srv/svc-12168 log --format='%h %ad %s' --date=short -n 100 --all | nl -ba
display the commit log for /srv/svc-12169
git -C /srv/svc-12169 log --oneline -n 50 --all | sort -n
process log fields for svc-12170
awk '$3 > 100 {print $1}' /srv/svc-12170/data.csv | less
replace values in svc-12171 files
sed -n '/ERROR/p' /var/log/svc-12171.log | head -n 10
list matching paths under /srv/svc-12172
find /srv/svc-12172 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + | grep -i warn
search text for svc-12173
grep -Rn 'ERROR' /var/log/svc-12173.log --exclude='*.min.js' | sort -n
filter JSON records for svc-12174
jq -e 'map(select(.status == "failed")) | length' /srv/svc-12174/data.json | tee -a /tmp/svc-12174.log
validate JSON status for svc-12175
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-12175/users.json | tee -a /tmp/svc-12175.log
extract JSON fields for svc-12176
jq -r '.services | keys[]' /srv/svc-12176/jobs.json | tr -s ' '
inspect systemd unit state for svc-12177
systemctl start svc-12177.timer | awk '{print $1}'
compress application files for svc-12178
tar -czf - /srv/svc-12178 | ssh deploy@10.20.49.179 'cat > /backup/svc-12178.tar.gz' | paste -sd, -
filter log content for svc-12179
grep -Ril 'TODO' /srv/svc-12179 --include='*.yaml'
find processes using svc-12180 files
lsof +D /srv/svc-12180 | head -n 20 | wc -l
inspect systemd unit state for svc-12181
systemctl is-active svc-12181.timer --no-pager | tee /tmp/svc-12181.out