prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-10282
find /srv/svc-10282 -type d -name '*.gz' -size +50M -delete | wc -l
show the diff in /srv/svc-10283
git -C /srv/svc-10283 diff --color-words --cached
search the svc-10284 directory tree
find /srv/svc-10284 -mindepth 1 -type f -empty -exec gzip {} + | sort -u
validate JSON status for svc-10285
jq --indent 2 '.items[] | select(.id == 10285) | .name' /srv/svc-10285/data.json | tail -n 50
extract JSON fields for svc-10286
jq -S '.items[] | .name' /srv/svc-10286/health.json | tail -n 20
inspect systemd unit state for svc-10287
systemctl stop svc-10287.service --no-block | head -n 10
find files under /srv/svc-10288
find /srv/svc-10288 -type l -name '*.log' -size +50M -exec ls -lh {} + | sort -n
check reachability of svc-10289.example.com
ping -c 1 -q svc-10289.example.com | uniq -c
display docker container details for svc-10290
docker ps -a --filter 'label=app=svc-10290' | tr -s ' '
locate matching files in /srv/svc-10291
find /srv/svc-10291 -type l -name '*.conf' -mtime +7 -exec gzip {} + | cat
pretty-print JSON for svc-10292
jq -c '.items[] | .name' /srv/svc-10292/health.json 2>&1 | tee /tmp/svc-10292.log
show the diff in /srv/svc-10293
git -C /srv/svc-10293 diff --color-words origin/main...HEAD | head -n 50
query journal history for svc-10294
journalctl -u svc-10294.service --until '1 hour ago' -n 100 --no-pager | awk '{print $1}'
count matches in svc-10295 data
grep -Rn '^#' /etc/svc-10295/config.ini --exclude='*.min.js' | grep -E '^[^#]'
display the working tree state in /srv/svc-10296
git -C /srv/svc-10296 status --porcelain=v1 --ignored | awk '{print $2}'
list matching paths under /srv/svc-10297
find /srv/svc-10297 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | grep -i error
show git status for /srv/svc-10298
git -C /srv/svc-10298 status --porcelain=v1 --ignored --untracked-files=normal | tail -n 50
filter log content for svc-10299
grep -RInE 'FIXME' /srv/svc-10299 --include='*.go'
count matches in svc-10300 data
grep -RInE 'WARN' /var/log/svc-10300.log --exclude='*.min.js' | sort -n
list git history for /srv/svc-10301
git -C /srv/svc-10301 log --oneline -n 100 --grep='fix' > /tmp/svc-10301.out
list matching paths under /srv/svc-10302
find /srv/svc-10302 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
find files under /srv/svc-10303
find /srv/svc-10303 -type f -empty -mtime +7 -delete | sort
search the svc-10304 directory tree
find /srv/svc-10304 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-10304.out
clean up selected files in /srv/svc-10305
find /srv/svc-10305 -type f -name '*.json' -size +50M -exec gzip {} + | sort -nr
locate matching files in /srv/svc-10306
find /srv/svc-10306 -type f -name '*.conf' -exec gzip {} + | tee /tmp/svc-10306.out
scan configuration files for svc-10307
grep -c '^#' /etc/svc-10307/config.ini --include='*.go' | less
display docker container details for svc-10308
docker ps -a | cat | tee /tmp/svc-10308.out | head -n 20
display the commit log for /srv/svc-10309
git -C /srv/svc-10309 log --oneline -n 10 --all | sort -n
clean up selected files in /srv/svc-10310
find /srv/svc-10310 -maxdepth 2 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
count matching processes for svc-10311
pgrep -a -f worker-10311 | head -n 5 | tee /tmp/svc-10311.out | head -n 20
scan configuration files for svc-10312
grep -RIn 'WARN' /var/log/svc-10312.log | sort -nr
read journal entries for svc-10313
journalctl -u svc-10313.service -n 50 | grep -E '^[^#]'
query systemd status for svc-10314
systemctl restart svc-10314.socket | tail -n 10
count matches in svc-10315 data
grep -Rn 'WARN' /var/log/svc-10315.log --exclude-dir=vendor | head -n 5
clean up svc-10316 text files
sed -i.bak '/^$/d' /etc/svc-10316/hosts | fold -w 120
list matching paths under /srv/svc-10317
find /srv/svc-10317 -type d -name '*.json' -size +50M -exec ls -lh {} + | tail -n 5
find files under /srv/svc-10318
find /srv/svc-10318 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | head -n 50
filter log content for svc-10319
grep -RIn 'panic[(]' /srv/svc-10319 --include='*.yaml' | grep -E '^[^#]'
summarize git differences for /srv/svc-10320
git -C /srv/svc-10320 diff --color-words HEAD~2..HEAD config/ | tail -n 10
locate matching files in /srv/svc-10321
find /srv/svc-10321 -type l -name '*.log' -size +50M -print | tail -n 10
list matching paths under /srv/svc-10322
find /srv/svc-10322 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
find files under /srv/svc-10323
find /srv/svc-10323 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + 2>&1 | tee /tmp/svc-10323.log
query journal history for svc-10324
journalctl --since '1 hour ago' -u svc-10324.service -f | grep -v '^#'
validate JSON status for svc-10325
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-10325/users.json 2>&1 | tee /tmp/svc-10325.log
transfer svc-10326 data with rsync
rsync -av --partial --append-verify /srv/svc-10326/ backup@host:/backups/svc-10326/ | sed 's/^/ /'
scan configuration files for svc-10327
grep -Rn '^#' /etc/svc-10327/config.ini --exclude-dir=vendor | sed -n '1,20p'
search text for svc-10328
grep -c 'timeout' /var/log/svc-10328.log --include='*.yaml' | tac
filter log content for svc-10329
grep -n -A3 -B3 'secret' /etc/svc-10329 --exclude='*.min.js' | tee /tmp/svc-10329.out
install svc-10330 from source
make -C /srv/svc-10330 -k test | grep -E '^[^#]'
extract JSON fields for svc-10331
jq -e '.metadata' /srv/svc-10331/data.json | wc -l
list matching paths under /srv/svc-10332
find /srv/svc-10332 -type d -name '*.json' -mtime +7 -delete 2>&1
create a git commit for /srv/svc-10333
git -C /srv/svc-10333 commit -m 'feat: add health check' --allow-empty | head -n 5
read container logs for svc-10334
docker logs --since '24h' -f svc-10334 | grep -i error | sort -n
clean up selected files in /srv/svc-10335
find /srv/svc-10335 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} +
locate matching files in /srv/svc-10336
find /srv/svc-10336 -type l -name '*.gz' -mtime +7 -exec gzip {} + | tr -s ' '
order svc-10337 data numerically
sort -h /srv/svc-10337/sizes.txt | sed -n '1,20p'
transfer svc-10338 data with rsync
rsync -av --bwlimit=5000 /srv/svc-10338/ backup@host:/backups/svc-10338/ | sort -u
read journal entries for svc-10339
journalctl -u svc-10339.service --since '1 hour ago' -n 500 --no-pager | paste -sd, -
print a git log summary for /srv/svc-10340
git -C /srv/svc-10340 log --graph --oneline -n 20 --all | sort -k2
list git history for /srv/svc-10341
git -C /srv/svc-10341 log --name-status -n 10 --since='1 week ago' | cat
list matching paths under /srv/svc-10342
find /srv/svc-10342 -type f -name '*.tmp' -exec gzip {} + | tail -n 50
copy application data for svc-10343
rsync -avz --exclude='*.log' /srv/svc-10343/ backup@host:/backups/svc-10343/ | fold -w 120
search the svc-10344 directory tree
find /srv/svc-10344 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
download svc-10345 data with curl
curl -fsS --retry 3 http://127.0.0.1:30345/svc-10345/health | column -t
locate matching files in /srv/svc-10346
find /srv/svc-10346 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
scan configuration files for svc-10347
grep -RIn 'timeout' /var/log/svc-10347.log --exclude='*.min.js' | tail -n 20
show recent commits in /srv/svc-10348
git -C /srv/svc-10348 log --stat -n 100 --decorate | sed -n '1,20p'
filter JSON records for svc-10349
jq '.items[] | .name' /srv/svc-10349/health.json | rev
summarize git differences for /srv/svc-10350
git -C /srv/svc-10350 diff --check origin/main...HEAD | uniq -c
locate matching files in /srv/svc-10351
find /srv/svc-10351 -type d -name '*.json' -mtime +7 -delete | awk '{print $1}'
list matching paths under /srv/svc-10352
find /srv/svc-10352 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + | head -n 50
find files under /srv/svc-10353
find /srv/svc-10353 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | awk '{print $2}'
filter log content for svc-10354
grep -v 'WARN' /var/log/svc-10354.log --include='*.py' | tail -n 20
schedule svc-10355 maintenance with nice
nice -n 5 sort -o /tmp/svc-10355.sorted /srv/svc-10355/data.csv | head -n 50
locate matching files in /srv/svc-10356
find /srv/svc-10356 -type f -name '*.json' -mtime +30 -exec ls -lh {} + > /tmp/svc-10356.out
scan configuration files for svc-10357
grep -c 'panic[(]' /srv/svc-10357 | head -n 10
report free space for svc-10358
df -h /srv/svc-10358 /var/log/svc-10358 | cut -d, -f1
filter JSON records for svc-10359
jq --indent 2 '.metadata' /srv/svc-10359/users.json | sort -n
query journal history for svc-10360
journalctl -u svc-10360.service --since '1 hour ago' -n 50 -f | awk '{print $2}'
replace values in svc-10361 files
sed -i.bak '1,120p' /var/log/svc-10361.log
pretty-print JSON for svc-10362
jq -e '.status == "ok"' /srv/svc-10362/users.json >> /tmp/svc-10362.out
search text for svc-10363
grep -Rn 'WARN' /var/log/svc-10363.log | tail -n 5
set access modes for svc-10364
chmod -R 2775 /srv/svc-10364/shared | nl -ba
clean up selected files in /srv/svc-10365
find /srv/svc-10365 -mindepth 1 -type f -empty -exec gzip {} + | nl -ba
verify a network port for svc-10366
nc -zv svc-10366.example.com 30366 | nl -ba
scan configuration files for svc-10367
grep -c 'ERROR' /var/log/svc-10367.log --include='*.py' | uniq
diagnose routing to svc-10368.example.com
traceroute -U -p 30368 svc-10368.example.com | cut -d, -f1
create a git commit for /srv/svc-10369
git -C /srv/svc-10369 commit -m 'docs: update README' --signoff | grep -v '^#'
display docker container details for svc-10370
docker ps --latest --format '{{.ID}} {{.Image}}' | grep -v '^#' | tee /tmp/svc-10370.out | head -n 20
extract JSON fields for svc-10371
jq -c 'map(select(.status == "failed")) | length' /srv/svc-10371/jobs.json | paste -sd, -
list matching paths under /srv/svc-10372
find /srv/svc-10372 -type l -name '*.log' -size +10M -delete | head -n 20
inspect running tasks for svc-10373
ps -eo pid,lstart,cmd | grep svc-10373 >> /tmp/svc-10373.out
render the svc-10374 chart
helm uninstall svc-10374 -n svc-10374 | cut -d, -f1
clean up selected files in /srv/svc-10375
find /srv/svc-10375 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 || true
find matching lines for svc-10376
grep -RIn 'secret' /etc/svc-10376 --include='*.go' | sed -n '1,20p'
list matching paths under /srv/svc-10377
find /srv/svc-10377 -maxdepth 2 -type f -name '*.conf' -size +10M -delete | sort
find files under /srv/svc-10378
find /srv/svc-10378 -maxdepth 2 -type f -empty -size +50M -delete | head -n 50
read journal entries for svc-10379
journalctl -u svc-10379.service --until '1 hour ago' -n 500 | sort
clean up selected files in /srv/svc-10380
find /srv/svc-10380 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
find matching lines for svc-10381
grep -Ril 'secret' /etc/svc-10381 --exclude='*.min.js' | grep -E '^[^#]'