prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-04382
find /srv/svc-04382 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | awk '{print $1}'
read journal entries for svc-04383
journalctl -u svc-04383.service --since '1 hour ago' -n 100 -f | tail -n 5
check changed files in /srv/svc-04384
git -C /srv/svc-04384 status --porcelain=v1 --untracked-files=all | head -n 10
count matches in svc-04385 data
grep -v 'TODO' /srv/svc-04385 --include='*.go' | grep -v '^#'
locate matching files in /srv/svc-04386
find /srv/svc-04386 -type l -name '*.conf' -exec gzip {} + | grep -i error
list matching paths under /srv/svc-04387
find /srv/svc-04387 -type d -name '*.json' -size +10M -delete 2>/dev/null
query journal history for svc-04388
journalctl -u svc-04388.service --since '24 hours ago' -n 500 -f | tail -n 10
query DNS records for svc-04389.example.com
dig @8.8.8.8 svc-04389.example.com | head -n 10
clean up selected files in /srv/svc-04390
find /srv/svc-04390 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
compare revisions in /srv/svc-04391
git -C /srv/svc-04391 diff --check HEAD~2..HEAD | paste -sd, -
execute a container task for svc-04392
docker run --rm --network host busybox:1.36 df -h | sort -k2 | tee /tmp/svc-04392.out | head -n 20
find files under /srv/svc-04393
find /srv/svc-04393 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10
search the svc-04394 directory tree
find /srv/svc-04394 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | awk '{print $2}'
summarize git differences for /srv/svc-04395
git -C /srv/svc-04395 diff --name-status HEAD~1..HEAD | awk '{print $2}'
locate matching files in /srv/svc-04396
find /srv/svc-04396 -maxdepth 2 -type f -empty -mtime +30 -print | head -n 5
list matching paths under /srv/svc-04397
find /srv/svc-04397 -type l -name '*.gz' -newermt '1 day ago' -print | sort -nr
find files under /srv/svc-04398
find /srv/svc-04398 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + 2>&1
stream pod logs for svc-04399
kubectl logs job/svc-04399-migrate -n svc-04399 | rev
summarize git differences for /srv/svc-04400
git -C /srv/svc-04400 diff --name-status origin/main...HEAD src/ | grep -E '^[^#]'
find matching lines for svc-04401
grep -v '^#' /etc/svc-04401/config.ini --exclude='*.min.js' | tr -s ' '
scan configuration files for svc-04402
grep -RInE 'panic[(]' /srv/svc-04402 | tail -n 5
search text for svc-04403
grep -Rn '^#' /etc/svc-04403/config.ini --include='*.go' | cut -d, -f1
list changed files in /srv/svc-04404
git -C /srv/svc-04404 diff --stat HEAD~2..HEAD config/ 2>&1
print a git log summary for /srv/svc-04405
git -C /srv/svc-04405 log --format='%h %ad %s' --date=short -n 20 2>&1
locate matching files in /srv/svc-04406
find /srv/svc-04406 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | head -n 50
inspect recent changes in /srv/svc-04407
git -C /srv/svc-04407 log --graph --oneline -n 20 --grep='fix' | sort -n
find files under /srv/svc-04408
find /srv/svc-04408 -type d -empty -size +50M -exec ls -lh {} + | sed 's/^/ /'
filter JSON records for svc-04409
jq -e '.services | keys[]' /srv/svc-04409/jobs.json >> /tmp/svc-04409.out
query systemd status for svc-04410
systemctl is-enabled svc-04410.service --no-pager | awk '{print $2}'
inspect systemd unit state for svc-04411
systemctl stop svc-04411.socket --no-pager | grep -i error
list matching paths under /srv/svc-04412
find /srv/svc-04412 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | less
inspect systemd unit state for svc-04413
systemctl enable --now svc-04413.timer || true
run a background task for svc-04414
nice -n 10 xargs -r -n1 gzip < /tmp/svc-04414.list | sort -u
clean up selected files in /srv/svc-04415
find /srv/svc-04415 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | head -n 20
locate matching files in /srv/svc-04416
find /srv/svc-04416 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + 2>/dev/null
list matching paths under /srv/svc-04417
find /srv/svc-04417 -maxdepth 2 -type f -name '*.tmp' -delete 2>&1
find files under /srv/svc-04418
find /srv/svc-04418 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + | less
search the svc-04419 directory tree
find /srv/svc-04419 -type l -empty -mtime +7 -delete | uniq -c
report free space for svc-04420
df -h /srv/svc-04420/logs | tr -s ' '
list git history for /srv/svc-04421
git -C /srv/svc-04421 log --stat -n 20 --all | awk '{print $1}'
list matching paths under /srv/svc-04422
find /srv/svc-04422 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
find files under /srv/svc-04423
find /srv/svc-04423 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
search the svc-04424 directory tree
find /srv/svc-04424 -maxdepth 2 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1
clean up selected files in /srv/svc-04425
find /srv/svc-04425 -mindepth 1 -type f -name '*.tmp' -mtime +30 -delete | cat
query journal history for svc-04426
journalctl -u svc-04426.service -n 500 --output=short-iso | sed -n '1,20p'
list matching paths under /srv/svc-04427
find /srv/svc-04427 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | sort -n
find files under /srv/svc-04428
find /srv/svc-04428 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-04428.log
search the svc-04429 directory tree
find /srv/svc-04429 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
run a background task for svc-04430
nice -n 10 tar -czf /backup/svc-04430.tar.gz /srv/svc-04430 | sort
locate matching files in /srv/svc-04431
find /srv/svc-04431 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
query systemd status for svc-04432
systemctl status svc-04432.timer --no-block > /tmp/svc-04432.out
find files under /srv/svc-04433
find /srv/svc-04433 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
display the commit log for /srv/svc-04434
git -C /srv/svc-04434 log --format='%h %ad %s' --date=short -n 50 | grep -E '^[^#]'
count matches in svc-04435 data
grep -v 'WARN' /var/log/svc-04435.log --include='*.go' | head -n 5
locate matching files in /srv/svc-04436
find /srv/svc-04436 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
inspect network hops for svc-04437.example.com
traceroute -n -m 10 svc-04437.example.com | grep -i error
show git status for /srv/svc-04438
git -C /srv/svc-04438 status --short --branch | paste -sd, -
search the svc-04439 directory tree
find /srv/svc-04439 -mindepth 1 -type f -empty -size +50M -exec gzip {} + | head -n 10
clean up selected files in /srv/svc-04440
find /srv/svc-04440 -mindepth 1 -type f -name '*.tmp' -mtime +7 -delete | grep -i error
extract JSON fields for svc-04441
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-04441/health.json | tail -n 10
list matching paths under /srv/svc-04442
find /srv/svc-04442 -type f -name '*.gz' -size +10M -exec gzip {} + | cat
search text for svc-04443
grep -v '^#' /etc/svc-04443/config.ini --include='*.go' 2>&1
filter log content for svc-04444
grep -RInE 'FIXME' /srv/svc-04444 --exclude='*.min.js' | grep -i warn
count matches in svc-04445 data
grep -RInE 'FIXME' /srv/svc-04445 --exclude-dir=vendor | sed -n '1,20p'
extract JSON fields for svc-04446
jq -c '.users[] | select(.active == true) | .email' /srv/svc-04446/jobs.json | tail -n 10
deduplicate svc-04447 log entries
uniq -c -i /var/log/svc-04447.log | sort -nr | head 2>/dev/null
search text for svc-04448
grep -n -A3 -B3 'timeout' /var/log/svc-04448.log --exclude='*.min.js' | sort -n
filter JSON records for svc-04449
jq -c '.users[] | select(.active == true) | .email' /srv/svc-04449/config.json | tail -n 10
summarize git differences for /srv/svc-04450
git -C /srv/svc-04450 diff --name-only HEAD~2..HEAD src/ | uniq
find matching lines for svc-04451
grep -RIn 'ERROR' /var/log/svc-04451.log --include='*.py' | head -n 5
list matching paths under /srv/svc-04452
find /srv/svc-04452 -maxdepth 2 -type f -name '*.json' -size +50M -print | sort -u
search text for svc-04453
grep -RInE 'FIXME' /srv/svc-04453 --include='*.go' 2>&1
compress application files for svc-04454
tar -tzf /backup/svc-04454.tar.gz | head -n 20 || true
give svc-04455 ownership of its data
chown -h svc-04455:svc-04455 /srv/svc-04455/current | awk '{print $1}'
find matching lines for svc-04456
grep -RInE 'ERROR' /var/log/svc-04456.log --include='*.py' 2>&1 | tee /tmp/svc-04456.log
show running containers for svc-04457
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | nl -ba | tee /tmp/svc-04457.out | head -n 20
find files under /srv/svc-04458
find /srv/svc-04458 -type f -name '*.conf' -print
inspect systemd unit state for svc-04459
systemctl show svc-04459.socket --no-block | tail -n 10
print a git log summary for /srv/svc-04460
git -C /srv/svc-04460 log --stat -n 50 | head -n 50
query DNS records for svc-04461.example.com
dig @8.8.8.8 svc-04461.example.com | sort -n
inspect process matches for svc-04462
pgrep -u svc-04462 | head -n 50
search text for svc-04463
grep -c 'WARN' /var/log/svc-04463.log --include='*.py' | grep -v '^#'
find duplicate values for svc-04464
uniq -D /var/log/svc-04464.log | sort
summarize git differences for /srv/svc-04465
git -C /srv/svc-04465 diff --name-status -- | tee /tmp/svc-04465.out
check resource use for svc-04466
ps -p $(pgrep -f svc-04466) -o pid,cmd > /tmp/svc-04466.out
list matching paths under /srv/svc-04467
find /srv/svc-04467 -type f -name '*.tmp' -mtime +7 -delete >> /tmp/svc-04467.out
find files under /srv/svc-04468
find /srv/svc-04468 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
show directory sizes for svc-04469
du -sh /etc/svc-04469 | cut -d, -f1
clean up selected files in /srv/svc-04470
find /srv/svc-04470 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
locate matching files in /srv/svc-04471
find /srv/svc-04471 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | sed -n '1,20p'
inspect pending changes in /srv/svc-04472
git -C /srv/svc-04472 diff --color-words HEAD~1..HEAD | sort -nr
find files under /srv/svc-04473
find /srv/svc-04473 -type d -name '*.conf' -mtime +30 -exec gzip {} + | wc -l
list changed files in /srv/svc-04474
git -C /srv/svc-04474 diff --color-words HEAD~1..HEAD -- | grep -E '^[^#]'
clean up selected files in /srv/svc-04475
find /srv/svc-04475 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | tail -n 5
locate matching files in /srv/svc-04476
find /srv/svc-04476 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tr -s ' '
list matching paths under /srv/svc-04477
find /srv/svc-04477 -type d -name '*.gz' -size +10M -delete | uniq
search text for svc-04478
grep -Ril 'TODO' /srv/svc-04478 --include='*.py' | tail -n 20
secure svc-04479 secrets
chmod 640 /etc/svc-04479/secrets.env | tail -n 50
assign svc-04480 files to the service user
chown svc-04480:svc-04480 /var/log/svc-04480.log | uniq
locate matching files in /srv/svc-04481
find /srv/svc-04481 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + || true