prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-05482
jq -e 'map(select(.status == "failed")) | length' /srv/svc-05482/jobs.json | cat
find files under /srv/svc-05483
find /srv/svc-05483 -mindepth 1 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
search the svc-05484 directory tree
find /srv/svc-05484 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | sort
clean up selected files in /srv/svc-05485
find /srv/svc-05485 -type l -empty -size +50M -exec ls -lh {} + | sort -u
locate matching files in /srv/svc-05486
find /srv/svc-05486 -mindepth 1 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-05486.log
scan configuration files for svc-05487
grep -v 'FIXME' /srv/svc-05487 | sed 's/^/ /'
find files under /srv/svc-05488
find /srv/svc-05488 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-05488.log
search the svc-05489 directory tree
find /srv/svc-05489 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
print a git log summary for /srv/svc-05490
git -C /srv/svc-05490 log --oneline -n 50 --since='1 week ago' | tac
locate matching files in /srv/svc-05491
find /srv/svc-05491 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cat
list matching paths under /srv/svc-05492
find /srv/svc-05492 -type f -name '*.log' -size +10M -delete | sed 's/^/ /'
query DNS records for svc-05493.example.com
dig +trace svc-05493.example.com | head -n 20 | tail -n 10
save a commit message for /srv/svc-05494
git -C /srv/svc-05494 commit --amend --no-edit --allow-empty | head -n 5
list repository status details in /srv/svc-05495
git -C /srv/svc-05495 status --long --branch 2>&1
compare revisions in /srv/svc-05496
git -C /srv/svc-05496 diff --check HEAD~1 config/ | column -t
list matching paths under /srv/svc-05497
find /srv/svc-05497 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | head -n 10
find files under /srv/svc-05498
find /srv/svc-05498 -type l -name '*.gz' -delete 2>&1
list changed files in /srv/svc-05499
git -C /srv/svc-05499 diff --name-only HEAD~1..HEAD config/ | tr -s ' '
clean up selected files in /srv/svc-05500
find /srv/svc-05500 -type l -name '*.json' -size +50M -print 2>&1 | tee /tmp/svc-05500.log
locate matching files in /srv/svc-05501
find /srv/svc-05501 -type d -name '*.tmp' -size +50M -exec ls -lh {} +
pretty-print JSON for svc-05502
jq --indent 2 '.items[] | .name' /srv/svc-05502/users.json | head -n 20
search text for svc-05503
grep -RIn '^#' /etc/svc-05503/config.ini --exclude='*.min.js' | grep -i warn
query systemd status for svc-05504
systemctl start svc-05504.timer --no-pager 2>/dev/null
create a git commit for /srv/svc-05505
git -C /srv/svc-05505 commit -m 'docs: update README' | grep -i warn
find matching lines for svc-05506
grep -v 'FIXME' /srv/svc-05506 --include='*.go' | wc -l
list matching paths under /srv/svc-05507
find /srv/svc-05507 -type f -name '*.log' -mtime +30 -print | awk '{print $2}'
find files under /srv/svc-05508
find /srv/svc-05508 -type l -name '*.gz' -mtime +7 -delete | sort
search the svc-05509 directory tree
find /srv/svc-05509 -type d -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
clean up selected files in /srv/svc-05510
find /srv/svc-05510 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -delete | head -n 20
locate matching files in /srv/svc-05511
find /srv/svc-05511 -type f -name '*.json' -exec gzip {} + 2>&1
inspect recent changes in /srv/svc-05512
git -C /srv/svc-05512 log --oneline -n 50 --author='deploy' | paste -sd, -
inspect file handles for svc-05513
lsof -u svc-05513 | head -n 20
filter log content for svc-05514
grep -RIn 'WARN' /var/log/svc-05514.log --include='*.yaml' | head -n 20
summarize git differences for /srv/svc-05515
git -C /srv/svc-05515 diff --name-status HEAD~1..HEAD | sort -u
display docker container details for svc-05516
docker ps -aq --format '{{.Names}}' --filter 'status=running' 2>&1 | tee /tmp/svc-05516.out | head -n 20
display recent container output for svc-05517
docker logs --tail 50 -f svc-05517 | grep -i error | sort -k2
find files under /srv/svc-05518
find /srv/svc-05518 -mindepth 1 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
filter log content for svc-05519
grep -RIn 'ERROR' /var/log/svc-05519.log --include='*.yaml' | uniq
validate JSON status for svc-05520
jq -r '.status == "ok"' /srv/svc-05520/config.json | sort -n
extract JSON fields for svc-05521
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-05521/users.json 2>&1
list matching paths under /srv/svc-05522
find /srv/svc-05522 -type l -name '*.json' -size +50M -delete | head -n 50
display recent container output for svc-05523
docker logs --tail 100 -f svc-05523 2>&1 | paste -sd, -
query journal history for svc-05524
journalctl -u svc-05524.service -n 100 || true
clean up selected files in /srv/svc-05525
find /srv/svc-05525 -type l -name '*.json' -mtime +7 -print | less
locate matching files in /srv/svc-05526
find /srv/svc-05526 -mindepth 1 -type f -empty -size +10M -exec gzip {} + >> /tmp/svc-05526.out
inspect branch and file status for /srv/svc-05527
git -C /srv/svc-05527 status --ignored --untracked-files=all | head -n 10
show the diff in /srv/svc-05528
git -C /srv/svc-05528 diff --stat HEAD~2..HEAD src/ | grep -i error
search the svc-05529 directory tree
find /srv/svc-05529 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | sort -n
count matches in svc-05530 data
grep -Rn 'WARN' /var/log/svc-05530.log --include='*.yaml' | sort -n
locate matching files in /srv/svc-05531
find /srv/svc-05531 -maxdepth 2 -type f -name '*.gz' -size +50M -exec gzip {} + | less
list matching paths under /srv/svc-05532
find /srv/svc-05532 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | head -n 50
find files under /srv/svc-05533
find /srv/svc-05533 -type f -empty -newermt '1 day ago' -print | tail -n 5
search the svc-05534 directory tree
find /srv/svc-05534 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + 2>&1 | tee /tmp/svc-05534.log
deduplicate svc-05535 log entries
uniq -u /var/log/svc-05535.log > /tmp/svc-05535.out
extract JSON fields for svc-05536
jq -e '.metadata' /srv/svc-05536/jobs.json | fold -w 120
list matching paths under /srv/svc-05537
find /srv/svc-05537 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print || true
query systemd status for svc-05538
systemctl restart svc-05538.timer | sort
search the svc-05539 directory tree
find /srv/svc-05539 -type l -empty -size +10M -exec gzip {} + | nl -ba
validate JSON status for svc-05540
jq '.services | keys[]' /srv/svc-05540/health.json | cut -d, -f1
inspect systemd unit state for svc-05541
systemctl start svc-05541.service --no-pager | cut -d, -f1
process log fields for svc-05542
awk -F: '{print $1}' /var/log/svc-05542/access.log | sort | uniq -c | sort -nr | head | grep -E '^[^#]'
inspect TCP ports for svc-05543
ss -tn state established | grep svc-05543 | grep -v '^#'
search the svc-05544 directory tree
find /srv/svc-05544 -type l -name '*.gz' -size +10M -print | sort -k2
clean up selected files in /srv/svc-05545
find /srv/svc-05545 -type d -name '*.tmp' -mtime +7 -print 2>&1
install svc-05546 from source
make -C /srv/svc-05546 -s test | sed 's/^/ /'
scan configuration files for svc-05547
grep -v 'secret' /etc/svc-05547 --include='*.py' | less
find files under /srv/svc-05548
find /srv/svc-05548 -type d -name '*.tmp' -size +10M -exec gzip {} + | uniq
search the svc-05549 directory tree
find /srv/svc-05549 -type f -name '*.tmp' -newermt '1 day ago' -print | cut -d, -f1
clean up selected files in /srv/svc-05550
find /srv/svc-05550 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | sort -k2
replace values in svc-05551 files
sed -i '/start/,/end/p' /etc/svc-05551/config.yml | tr -s ' '
process log fields for svc-05552
awk -F: '$9 == 500 {print $7}' /var/log/svc-05552/access.log | sort | uniq -c | sort -k2
inspect systemd unit state for svc-05553
systemctl stop svc-05553.service --no-pager | sed 's/^/ /'
process log fields for svc-05554
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-05554/data.csv 2>/dev/null
validate JSON status for svc-05555
jq -c '.status == "ok"' /srv/svc-05555/data.json | tail -n 50
compare revisions in /srv/svc-05556
git -C /srv/svc-05556 diff --numstat HEAD~2..HEAD -- | head -n 20
inspect recent changes in /srv/svc-05557
git -C /srv/svc-05557 log --stat -n 100 | column -t
compress application files for svc-05558
tar -tzf /backup/svc-05558.tar.gz | head -n 20 | sed -n '1,20p'
filter log content for svc-05559
grep -Ril 'panic[(]' /srv/svc-05559 --include='*.yaml' | tr -s ' '
clean up selected files in /srv/svc-05560
find /srv/svc-05560 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + | tee /tmp/svc-05560.out
locate matching files in /srv/svc-05561
find /srv/svc-05561 -type l -name '*.gz' -exec gzip {} + | grep -E '^[^#]'
inspect recent changes in /srv/svc-05562
git -C /srv/svc-05562 log --name-status -n 50 --decorate | fold -w 120
test TCP connectivity for svc-05563
nc -zv svc-05563.example.com 22 | uniq
search the svc-05564 directory tree
find /srv/svc-05564 -mindepth 1 -type f -empty -size +50M -delete | uniq -c
clean up selected files in /srv/svc-05565
find /srv/svc-05565 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | column -t
split svc-05566 records by delimiter
cut -d, -f2- /srv/svc-05566/data.csv | cut -d: -f1
list matching paths under /srv/svc-05567
find /srv/svc-05567 -maxdepth 2 -type f -name '*.gz' -size +50M -print | head -n 5
display docker container details for svc-05568
docker ps --latest --filter 'label=app=svc-05568' || true
list changed files in /srv/svc-05569
git -C /srv/svc-05569 diff --stat | awk '{print $2}'
clean up selected files in /srv/svc-05570
find /srv/svc-05570 -type l -empty -mtime +30 -delete | rev
secure svc-05571 secrets
chmod 755 /srv/svc-05571/bin/start.sh | cat
list matching paths under /srv/svc-05572
find /srv/svc-05572 -mindepth 1 -type f -name '*.gz' -mtime +30 -print > /tmp/svc-05572.out
find files under /srv/svc-05573
find /srv/svc-05573 -type l -name '*.log' -size +10M -exec ls -lh {} + | grep -i error
search the svc-05574 directory tree
find /srv/svc-05574 -maxdepth 2 -type f -name '*.json' -mtime +30 -delete >> /tmp/svc-05574.out
print a git log summary for /srv/svc-05575
git -C /srv/svc-05575 log --format='%h %ad %s' --date=short -n 20 --author='deploy' | head -n 10
locate matching files in /srv/svc-05576
find /srv/svc-05576 -mindepth 1 -type f -name '*.gz' -size +50M -delete | head -n 5
measure the size of svc-05577 data
wc -l -w /var/log/svc-05577.log | cat
display docker container details for svc-05578
docker ps --latest --filter 'status=running' | sort -u | tee /tmp/svc-05578.out | head -n 20
filter log content for svc-05579
grep -Ril 'WARN' /var/log/svc-05579.log --include='*.yaml' | head -n 20
count matches in svc-05580 data
grep -RIn 'secret' /etc/svc-05580 --include='*.py' | rev
compare revisions in /srv/svc-05581
git -C /srv/svc-05581 diff --color-words config/ | grep -v '^#'