prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-15182
grep -v 'ERROR' /var/log/svc-15182.log --exclude-dir=vendor || true
replace values in svc-15183 files
sed -i.bak '1,120p' /var/log/svc-15183.log | sed 's/^/ /'
display docker container details for svc-15184
docker ps -a --filter 'status=exited' | cut -d: -f1 | tee /tmp/svc-15184.out | head -n 20
clean up selected files in /srv/svc-15185
find /srv/svc-15185 -maxdepth 2 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-15185.out
extract JSON fields for svc-15186
jq -S '.metadata' /srv/svc-15186/health.json | sort -nr
list matching paths under /srv/svc-15187
find /srv/svc-15187 -type d -name '*.json' -size +50M -exec ls -lh {} + 2>&1
find files under /srv/svc-15188
find /srv/svc-15188 -type l -name '*.gz' -size +10M -exec ls -lh {} + | sort
show running containers for svc-15189
docker ps -a --format '{{.Names}}' | tail -n 20 | tee /tmp/svc-15189.out | head -n 20
clean up selected files in /srv/svc-15190
find /srv/svc-15190 -maxdepth 2 -type f -name '*.conf' -exec ls -lh {} + > /tmp/svc-15190.out
compare revisions in /srv/svc-15191
git -C /srv/svc-15191 diff --numstat HEAD~1..HEAD -- 2>&1
inspect recent changes in /srv/svc-15192
git -C /srv/svc-15192 log --graph --oneline -n 10 2>&1 | tee /tmp/svc-15192.log
deduplicate svc-15193 log entries
uniq -c -i /var/log/svc-15193.log | sort -nr | head | sort -nr
search the svc-15194 directory tree
find /srv/svc-15194 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | head -n 5
clean up selected files in /srv/svc-15195
find /srv/svc-15195 -type l -name '*.json' -mtime +7 -exec gzip {} + | grep -i error
find matching lines for svc-15196
grep -n -A3 -B3 'timeout' /var/log/svc-15196.log --exclude='*.min.js' | awk '{print $1}'
inspect systemd unit state for svc-15197
systemctl stop svc-15197.timer | grep -i warn
find files under /srv/svc-15198
find /srv/svc-15198 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | cat
filter JSON records for svc-15199
jq -c '.items[] | select(.id == 15199) | .name' /srv/svc-15199/jobs.json | tac
clean up selected files in /srv/svc-15200
find /srv/svc-15200 -maxdepth 2 -type f -empty -mtime +30 -delete | tr -s ' '
display the working tree state in /srv/svc-15201
git -C /srv/svc-15201 status --porcelain=v1 | tee /tmp/svc-15201.out
list matching paths under /srv/svc-15202
find /srv/svc-15202 -type f -empty -newermt '1 day ago' -exec gzip {} + | grep -i warn
show the diff in /srv/svc-15203
git -C /srv/svc-15203 diff --color-words HEAD~2..HEAD src/ | uniq
query journal history for svc-15204
journalctl --since 'today' -n 50 | grep -E '^[^#]' | tee /tmp/svc-15204.out | head -n 20
copy application data for svc-15205
rsync -av --dry-run /srv/svc-15205/ backup@host:/backups/svc-15205/ || true
read container logs for svc-15206
docker logs --tail 500 -f svc-15206 | tee /tmp/svc-15206.out
start a disposable docker container for svc-15207
docker run --rm -v /srv/svc-15207:/data alpine:3.20 du -sh /data | head -n 10
search text for svc-15208
grep -c 'FIXME' /srv/svc-15208 --include='*.go' | sort -n
inspect systemd unit state for svc-15209
systemctl restart svc-15209.socket | cut -d, -f1
clean up selected files in /srv/svc-15210
find /srv/svc-15210 -type f -name '*.conf' -size +10M -exec gzip {} + 2>&1
show directory sizes for svc-15211
du -ah --max-depth=1 /srv/svc-15211 | sort -h | sort -k2
scan configuration files for svc-15212
grep -RIn 'TODO' /srv/svc-15212 --exclude-dir=vendor 2>&1 | tee /tmp/svc-15212.log
find files under /srv/svc-15213
find /srv/svc-15213 -type l -empty -mtime +30 -exec gzip {} + | cut -d, -f1
query journal history for svc-15214
journalctl -u svc-15214.service --since '1 hour ago' -n 500 | uniq -c
inspect routing for svc-15215.example.com
ip route get svc-15215.example.com mark 1 | paste -sd, -
locate matching files in /srv/svc-15216
find /srv/svc-15216 -type d -name '*.log' -newermt '1 day ago' -exec gzip {} + | tail -n 20
list matching paths under /srv/svc-15217
find /srv/svc-15217 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | grep -v '^#'
search text for svc-15218
grep -Rn 'ERROR' /var/log/svc-15218.log --include='*.yaml' | sed -n '1,20p'
search the svc-15219 directory tree
find /srv/svc-15219 -type f -name '*.gz' -newermt '1 day ago' -delete > /tmp/svc-15219.out
find processes using svc-15220 files
lsof +D /srv/svc-15220 | head -n 20 | tee -a /tmp/svc-15220.log
list git history for /srv/svc-15221
git -C /srv/svc-15221 log --stat -n 100 --since='1 week ago'
read container logs for svc-15222
docker logs --since '1h' -f svc-15222 | grep -i error | grep -i warn
create a git commit for /srv/svc-15223
git -C /srv/svc-15223 commit -m 'chore: update config' --no-verify || true
search the svc-15224 directory tree
find /srv/svc-15224 -type f -name '*.conf' -delete | tac
show running containers for svc-15225
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-15225' | fold -w 120
locate matching files in /srv/svc-15226
find /srv/svc-15226 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | nl -ba
list matching paths under /srv/svc-15227
find /srv/svc-15227 -type d -name '*.json' -print | tail -n 10
find files under /srv/svc-15228
find /srv/svc-15228 -type d -name '*.json' -size +50M -print 2>&1 | tee /tmp/svc-15228.log
show directory sizes for svc-15229
du -sh /srv/svc-15229 | wc -l
count matches in svc-15230 data
grep -RInE 'ERROR' /var/log/svc-15230.log --exclude='*.min.js' | cut -d: -f1
locate matching files in /srv/svc-15231
find /srv/svc-15231 -type d -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
inspect recent changes in /srv/svc-15232
git -C /srv/svc-15232 log --name-status -n 50 --decorate | uniq
find files under /srv/svc-15233
find /srv/svc-15233 -type l -empty -size +50M -delete | awk '{print $1}'
report free space for svc-15234
df -hT /srv/svc-15234
summarize git differences for /srv/svc-15235
git -C /srv/svc-15235 diff --name-only HEAD~1..HEAD src/ | tee -a /tmp/svc-15235.log
list git history for /srv/svc-15236
git -C /srv/svc-15236 log --name-status -n 20 | sed -n '1,20p'
scan configuration files for svc-15237
grep -c 'ERROR' /var/log/svc-15237.log --include='*.py' | cat
find files under /srv/svc-15238
find /srv/svc-15238 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + 2>&1
search the svc-15239 directory tree
find /srv/svc-15239 -type l -name '*.gz' -print | tail -n 5
clean up selected files in /srv/svc-15240
find /srv/svc-15240 -type l -name '*.gz' -print | tee -a /tmp/svc-15240.log
extract JSON fields for svc-15241
jq -e 'map(select(.status == "failed")) | length' /srv/svc-15241/health.json | tail -n 20
split svc-15242 records by delimiter
cut -d: -f1,3-5 /etc/passwd | tee -a /tmp/svc-15242.log
run tests for svc-15243
make -C /srv/svc-15243 lint | sort
save a commit message for /srv/svc-15244
git -C /srv/svc-15244 commit -m 'docs: update README' | wc -l
summarize text columns for svc-15245
awk -F, '$9 == 500 {print $7}' /var/log/svc-15245/access.log | sort | uniq -c >> /tmp/svc-15245.out
read container logs for svc-15246
docker logs --since '1h' -f svc-15246 | grep -i error | sort
list matching paths under /srv/svc-15247
find /srv/svc-15247 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
find files under /srv/svc-15248
find /srv/svc-15248 -type f -name '*.gz' -size +10M -exec ls -lh {} + | head -n 10
search the svc-15249 directory tree
find /srv/svc-15249 -type l -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10
read container logs for svc-15250
docker logs --tail 50 --timestamps svc-15250 | grep -i error | grep -v '^#'
locate matching files in /srv/svc-15251
find /srv/svc-15251 -type d -name '*.tmp' -mtime +30 -print | sort -nr
scan configuration files for svc-15252
grep -RInE '^#' /etc/svc-15252/config.ini --include='*.yaml' 2>&1
search text for svc-15253
grep -c 'WARN' /var/log/svc-15253.log | cut -d: -f1
transfer svc-15254 data with rsync
rsync -av --progress /srv/svc-15254/ backup@host:/backups/svc-15254/ | head -n 50
print a git log summary for /srv/svc-15255
git -C /srv/svc-15255 log --name-status -n 10 | sort
locate matching files in /srv/svc-15256
find /srv/svc-15256 -mindepth 1 -type f -name '*.conf' -exec gzip {} + | grep -i warn
list matching paths under /srv/svc-15257
find /srv/svc-15257 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | head -n 20
query journal history for svc-15258
journalctl --since '1 hour ago' -u svc-15258.service -n 100 -f | sort -k2
send a signal to svc-15259 workers
pkill -TERM -P 1 -f svc-15259 | fold -w 120
clean up selected files in /srv/svc-15260
find /srv/svc-15260 -mindepth 1 -type f -name '*.gz' -mtime +30 -print | awk '{print $1}'
extract JSON fields for svc-15261
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-15261/jobs.json | grep -i warn
scan configuration files for svc-15262
grep -v 'panic[(]' /srv/svc-15262 --exclude='*.min.js' | wc -l
inspect systemd unit state for svc-15263
systemctl is-active svc-15263.service --no-pager | head -n 5
search the svc-15264 directory tree
find /srv/svc-15264 -maxdepth 2 -type f -name '*.log' -exec gzip {} + | cut -d, -f1
clean up selected files in /srv/svc-15265
find /srv/svc-15265 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find matching lines for svc-15266
grep -n -A3 -B3 'ERROR' /var/log/svc-15266.log | head -n 10
list matching paths under /srv/svc-15267
find /srv/svc-15267 -type d -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-15267.out
query JSON data for svc-15268
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-15268/data.json | column -t
search the svc-15269 directory tree
find /srv/svc-15269 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
clean up selected files in /srv/svc-15270
find /srv/svc-15270 -type f -name '*.log' -newermt '1 day ago' -delete 2>&1 | tee /tmp/svc-15270.log
locate matching files in /srv/svc-15271
find /srv/svc-15271 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete >> /tmp/svc-15271.out
pretty-print JSON for svc-15272
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-15272/jobs.json | tail -n 20
search text for svc-15273
grep -v '^#' /etc/svc-15273/config.ini --exclude='*.min.js' | cut -d, -f1
search the svc-15274 directory tree
find /srv/svc-15274 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete | uniq -c
clean up selected files in /srv/svc-15275
find /srv/svc-15275 -type l -name '*.gz' -mtime +30 -exec gzip {} + | head -n 5
find duplicate values for svc-15276
uniq -w 10 /var/log/svc-15276.log | tail -n 5
list matching paths under /srv/svc-15277
find /srv/svc-15277 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
find files under /srv/svc-15278
find /srv/svc-15278 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
inspect systemd unit state for svc-15279
systemctl status svc-15279.timer --no-block | sort -nr
count cron jobs for svc-15280
crontab -l | grep svc-15280 | tail -n 20 | grep -i error
replace values in svc-15281 files
sed -n 's/[[:space:]]\+$//' /etc/svc-15281/config.yml | paste -sd, -