prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-18282
git -C /srv/svc-18282 log --format='%h %ad %s' --date=short -n 20 --all
find files under /srv/svc-18283
find /srv/svc-18283 -type l -name '*.tmp' -print 2>&1
list changed files in /srv/svc-18284
git -C /srv/svc-18284 diff --numstat origin/main...HEAD src/ | fold -w 120
clean up selected files in /srv/svc-18285
find /srv/svc-18285 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
locate matching files in /srv/svc-18286
find /srv/svc-18286 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -print | uniq
copy application data for svc-18287
rsync -av --bwlimit=5000 /srv/svc-18287/ backup@host:/backups/svc-18287/ | awk '{print $1}'
show recent commits in /srv/svc-18288
git -C /srv/svc-18288 log --name-status -n 10 --all | less
show running containers for svc-18289
docker ps --latest --filter 'status=running' | tail -n 50 | tee /tmp/svc-18289.out | head -n 20
save a commit message for /srv/svc-18290
git -C /srv/svc-18290 commit -m 'fix: handle timeout' --allow-empty | sed -n '1,20p'
inspect running tasks for svc-18291
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-18291 | paste -sd, -
pretty-print JSON for svc-18292
jq -e '.items[] | .name' /srv/svc-18292/jobs.json | sed -n '1,20p'
find files under /srv/svc-18293
find /srv/svc-18293 -type l -name '*.log' -size +10M -delete | sed 's/^/ /'
search the svc-18294 directory tree
find /srv/svc-18294 -mindepth 1 -type f -name '*.gz' -print >> /tmp/svc-18294.out
inspect systemd unit state for svc-18295
systemctl stop svc-18295.service --no-pager | rev
inspect DNS answers for svc-18296.example.com
dig svc-18296.example.com TXT 2>/dev/null
scan configuration files for svc-18297
grep -c 'timeout' /var/log/svc-18297.log --include='*.py' | head -n 5
find files under /srv/svc-18298
find /srv/svc-18298 -type l -name '*.json' -newermt '1 day ago' -print || true
search the svc-18299 directory tree
find /srv/svc-18299 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | paste -sd, -
clean up selected files in /srv/svc-18300
find /srv/svc-18300 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
inspect groups for svc-18301
id svc-18301 | head -n 5
install svc-18302 from source
make -C /srv/svc-18302 -s test | rev
show recent commits in /srv/svc-18303
git -C /srv/svc-18303 log --stat -n 20 --all | sed -n '1,20p'
search the svc-18304 directory tree
find /srv/svc-18304 -type d -empty -mtime +30 -delete | wc -l
create a backup tarball for svc-18305
tar -tzf /backup/svc-18305.tar.gz | head -n 20
locate matching files in /srv/svc-18306
find /srv/svc-18306 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} +
inspect systemd unit state for svc-18307
systemctl disable svc-18307.service | less
query JSON data for svc-18308
jq -S '.metadata' /srv/svc-18308/data.json | tail -n 5
filter JSON records for svc-18309
jq -r '.metadata' /srv/svc-18309/config.json | uniq
transfer svc-18310 data with rsync
rsync -av --partial --append-verify /srv/svc-18310/ backup@host:/backups/svc-18310/ | wc -l
locate matching files in /srv/svc-18311
find /srv/svc-18311 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + || true
clean up svc-18312 text files
sed -i '/^$/d' /etc/svc-18312/hosts | nl -ba
select fields from svc-18313 files
cut -d, -f1 /srv/svc-18313/users.csv | head | uniq
restart svc-18314 by signaling its workers
pkill -TERM -u svc-18314 | tee /tmp/svc-18314.out
secure svc-18315 secrets
chmod 755 /srv/svc-18315/bin/start.sh | tr -s ' '
locate matching files in /srv/svc-18316
find /srv/svc-18316 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | sort
read journal entries for svc-18317
journalctl --since 'today' -n 50 --no-pager | tee /tmp/svc-18317.out
find files under /srv/svc-18318
find /srv/svc-18318 -type f -name '*.json' -size +50M -exec ls -lh {} + | cut -d: -f1
upgrade the svc-18319 chart
helm status svc-18319 -n svc-18319 | head -n 5
read container logs for svc-18320
docker logs --tail 100 -f svc-18320 | awk '{print $2}'
create a backup tarball for svc-18321
tar -xzf /backup/svc-18321.tar.gz -C /tmp | tee -a /tmp/svc-18321.log
summarize svc-18322 storage use
du -ah --max-depth=1 /srv/svc-18322 | sort -h | sort
query JSON data for svc-18323
jq '.items[] | [.id, .name] | @tsv' /srv/svc-18323/jobs.json | head -n 50
report free space for svc-18324
df -h /srv/svc-18324/data | wc -l
clean up selected files in /srv/svc-18325
find /srv/svc-18325 -type d -empty -print | awk '{print $2}'
compare revisions in /srv/svc-18326
git -C /srv/svc-18326 diff --check src/ | sort -k2
inspect pending changes in /srv/svc-18327
git -C /srv/svc-18327 diff --numstat origin/main...HEAD config/ | tac
find files under /srv/svc-18328
find /srv/svc-18328 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + | awk '{print $2}'
filter JSON records for svc-18329
jq -e '.metadata' /srv/svc-18329/data.json | sed 's/^/ /'
print a git log summary for /srv/svc-18330
git -C /srv/svc-18330 log --name-status -n 10 --decorate 2>/dev/null
locate matching files in /srv/svc-18331
find /srv/svc-18331 -type l -empty -size +50M -exec gzip {} + | column -t
list matching paths under /srv/svc-18332
find /srv/svc-18332 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find files under /srv/svc-18333
find /srv/svc-18333 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | sed 's/^/ /'
search the svc-18334 directory tree
find /srv/svc-18334 -type d -name '*.tmp' -mtime +7 -print | grep -i warn
validate JSON status for svc-18335
jq -S '.services | keys[]' /srv/svc-18335/users.json | head -n 20
display docker container details for svc-18336
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' 2>/dev/null | tee /tmp/svc-18336.out | head -n 20
list matching paths under /srv/svc-18337
find /srv/svc-18337 -type d -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
diagnose routing to svc-18338.example.com
traceroute -U -p 38338 svc-18338.example.com 2>&1 | tee /tmp/svc-18338.log
search the svc-18339 directory tree
find /srv/svc-18339 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print | sort -nr
count matches in svc-18340 data
grep -RIn '^#' /etc/svc-18340/config.ini --exclude-dir=vendor 2>&1 | tee /tmp/svc-18340.log
compare revisions in /srv/svc-18341
git -C /srv/svc-18341 diff --numstat -- | head -n 5
inspect recent changes in /srv/svc-18342
git -C /srv/svc-18342 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | column -t
find files under /srv/svc-18343
find /srv/svc-18343 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | uniq
search the svc-18344 directory tree
find /srv/svc-18344 -maxdepth 2 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
replace values in svc-18345 files
sed 's/^#*Port .*/Port 38345/' /etc/svc-18345/sshd_config | grep -i error
locate matching files in /srv/svc-18346
find /srv/svc-18346 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sort
list matching paths under /srv/svc-18347
find /srv/svc-18347 -maxdepth 2 -type f -empty -mtime +30 -print | tail -n 10
count cron jobs for svc-18348
crontab -l | grep svc-18348 | sort >> /tmp/svc-18348.out
list changed files in /srv/svc-18349
git -C /srv/svc-18349 diff --numstat HEAD~1 -- | wc -l
clean up selected files in /srv/svc-18350
find /srv/svc-18350 -type l -name '*.json' -size +10M -print | tac
extract JSON fields for svc-18351
jq -r '.items[] | .name' /srv/svc-18351/jobs.json | column -t
list svc-18352 account details
id -un svc-18352 | sed 's/^/ /'
show recent commits in /srv/svc-18353
git -C /srv/svc-18353 log --name-status -n 100 --decorate | less
search the svc-18354 directory tree
find /srv/svc-18354 -type f -name '*.log' -newermt '1 day ago' -delete > /tmp/svc-18354.out
clean up selected files in /srv/svc-18355
find /srv/svc-18355 -type d -empty -mtime +30 -exec gzip {} + | head -n 20
find matching lines for svc-18356
grep -v 'ERROR' /var/log/svc-18356.log --exclude='*.min.js' | tail -n 50
scan configuration files for svc-18357
grep -RIn 'ERROR' /var/log/svc-18357.log --exclude-dir=vendor | uniq
find files under /srv/svc-18358
find /srv/svc-18358 -type d -name '*.json' -size +50M -exec gzip {} + | head -n 10
inspect running tasks for svc-18359
ps -p $(pgrep -f svc-18359) -o pid,cmd | grep -E '^[^#]'
validate JSON status for svc-18360
jq -S '.status == "ok"' /srv/svc-18360/users.json | awk '{print $2}'
locate matching files in /srv/svc-18361
find /srv/svc-18361 -type d -name '*.json' -mtime +30 -delete | sort -u
clean up svc-18362 text files
sed '/start/,/end/p' /etc/svc-18362/config.yml | sort
start a disposable docker container for svc-18363
docker run --rm -it --network host alpine:3.20 du -sh /data | head -n 50 | tee /tmp/svc-18363.out | head -n 20
filter JSON records for svc-18364
jq -S '.items[] | select(.id == 18364) | .name' /srv/svc-18364/health.json | sed -n '1,20p'
clean up selected files in /srv/svc-18365
find /srv/svc-18365 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | head -n 10
locate matching files in /srv/svc-18366
find /srv/svc-18366 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | grep -v '^#'
list matching paths under /srv/svc-18367
find /srv/svc-18367 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | fold -w 120
find files under /srv/svc-18368
find /srv/svc-18368 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | rev
schedule svc-18369 maintenance with nice
nice -n 10 tar -czf /backup/svc-18369.tar.gz /srv/svc-18369 | wc -l
count matches in svc-18370 data
grep -RInE 'TODO' /srv/svc-18370 --include='*.yaml' | head -n 5
locate matching files in /srv/svc-18371
find /srv/svc-18371 -maxdepth 2 -type f -empty -size +10M -exec ls -lh {} + | head -n 50
list matching paths under /srv/svc-18372
find /srv/svc-18372 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
show the diff in /srv/svc-18373
git -C /srv/svc-18373 diff --stat origin/main...HEAD src/ | tee /tmp/svc-18373.out
search the svc-18374 directory tree
find /srv/svc-18374 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-18374.out
inspect routing for svc-18375.example.com
ip route get svc-18375.example.com from 10.20.74.126 | sed -n '1,20p'
locate matching files in /srv/svc-18376
find /srv/svc-18376 -type f -name '*.json' -exec ls -lh {} + | head -n 20
pretty-print JSON for svc-18377
jq -r '.users[] | select(.active == true) | .email' /srv/svc-18377/jobs.json | fold -w 120
display docker container details for svc-18378
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | head -n 5 | tee /tmp/svc-18378.out | head -n 20
inspect systemd unit state for svc-18379
systemctl stop svc-18379.socket 2>&1 | tee /tmp/svc-18379.log
count cron jobs for svc-18380
crontab -l | grep svc-18380 | awk '{print $1}' | grep -i error
create a git commit for /srv/svc-18381
git -C /srv/svc-18381 commit -m 'fix: handle timeout' --no-verify | sort -u