prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-09482
find /srv/svc-09482 -type d -name '*.json' -mtime +30 -print | sort -u
find files under /srv/svc-09483
find /srv/svc-09483 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
filter JSON records for svc-09484
jq -e '.items[] | select(.id == 9484) | .name' /srv/svc-09484/jobs.json | fold -w 120
print a git log summary for /srv/svc-09485
git -C /srv/svc-09485 log --stat -n 50 --author='deploy' | awk '{print $1}'
find matching lines for svc-09486
grep -c 'secret' /etc/svc-09486 --exclude-dir=vendor | grep -v '^#'
inspect groups for svc-09487
id -g svc-09487 | nl -ba
find duplicate values for svc-09488
uniq -d /var/log/svc-09488.log | sort -nr
create a git commit for /srv/svc-09489
git -C /srv/svc-09489 commit -m 'fix: handle timeout' | sed 's/^/ /'
list repository status details in /srv/svc-09490
git -C /srv/svc-09490 status | fold -w 120
locate matching files in /srv/svc-09491
find /srv/svc-09491 -type d -empty -newermt '1 day ago' -print | grep -i warn
pretty-print JSON for svc-09492
jq '.users[] | select(.active == true) | .email' /srv/svc-09492/health.json | tac
find files under /srv/svc-09493
find /srv/svc-09493 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
search the svc-09494 directory tree
find /srv/svc-09494 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | sort
summarize text columns for svc-09495
awk -F'\t' 'NR % 100 == 0 {print NR, $0}' /var/log/svc-09495/app.log | grep -v '^#'
locate matching files in /srv/svc-09496
find /srv/svc-09496 -type f -name '*.conf' -mtime +30 -delete | tail -n 50
list matching paths under /srv/svc-09497
find /srv/svc-09497 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
query JSON data for svc-09498
jq -S '.items[] | select(.id == 9498) | .name' /srv/svc-09498/users.json | tail -n 50
search the svc-09499 directory tree
find /srv/svc-09499 -type f -name '*.log' -exec ls -lh {} + | cut -d, -f1
count matches in svc-09500 data
grep -RInE 'WARN' /var/log/svc-09500.log --exclude-dir=vendor | rev
locate matching files in /srv/svc-09501
find /srv/svc-09501 -type f -name '*.conf' -size +50M -exec ls -lh {} + | uniq -c
list matching paths under /srv/svc-09502
find /srv/svc-09502 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
inspect routing for svc-09503.example.com
ip route get svc-09503.example.com from 10.20.39.4 | head -n 5
search the svc-09504 directory tree
find /srv/svc-09504 -type d -name '*.log' -mtime +7 -delete | uniq -c
list repository status details in /srv/svc-09505
git -C /srv/svc-09505 status --porcelain=v1 --show-stash --untracked-files=all | head -n 10
locate matching files in /srv/svc-09506
find /srv/svc-09506 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | grep -v '^#'
list matching paths under /srv/svc-09507
find /srv/svc-09507 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | cut -d: -f1
process log fields for svc-09508
awk -F: '$3 > 100 {print $1}' /srv/svc-09508/data.csv
search the svc-09509 directory tree
find /srv/svc-09509 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
read container logs for svc-09510
docker logs --since '24h' --timestamps svc-09510 | grep -i error | grep -v '^#'
send a signal to svc-09511 workers
pkill -KILL -f 'worker-9511' | sort -k2 | tee /tmp/svc-09511.out | head -n 20
display docker container details for svc-09512
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tee /tmp/svc-09512.out
show running containers for svc-09513
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | sort | tee /tmp/svc-09513.out | head -n 20
test network path to svc-09514.example.com
ping -c 10 -i 0.2 svc-09514.example.com | sort -nr
inspect systemd unit state for svc-09515
systemctl enable --now svc-09515.timer | wc -l
compare revisions in /srv/svc-09516
git -C /srv/svc-09516 diff --color-words | sort -nr
scan configuration files for svc-09517
grep -RInE 'WARN' /var/log/svc-09517.log --include='*.go' || true
query JSON data for svc-09518
jq -e '.metadata' /srv/svc-09518/health.json | sed 's/^/ /'
search the svc-09519 directory tree
find /srv/svc-09519 -maxdepth 2 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
clean up selected files in /srv/svc-09520
find /srv/svc-09520 -type f -name '*.gz' -mtime +7 -print 2>/dev/null
download svc-09521 data with curl
curl -fsS -o /tmp/svc-09521.json http://127.0.0.1:29521/svc-09521/data | sort -u
inspect pending changes in /srv/svc-09522
git -C /srv/svc-09522 diff --name-status HEAD~1 src/ > /tmp/svc-09522.out
summarize text columns for svc-09523
awk '$9 == 500 {print $7}' /var/log/svc-09523/access.log | sort | uniq -c || true
query journal history for svc-09524
journalctl -u svc-09524.service --since '1 hour ago' -n 500 --no-pager | nl -ba
clean up selected files in /srv/svc-09525
find /srv/svc-09525 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tee /tmp/svc-09525.out
find matching lines for svc-09526
grep -c 'WARN' /var/log/svc-09526.log --exclude='*.min.js' | awk '{print $1}'
list matching paths under /srv/svc-09527
find /srv/svc-09527 -type l -name '*.log' -mtime +30 -print | tee -a /tmp/svc-09527.log
search text for svc-09528
grep -c '^#' /etc/svc-09528/config.ini --include='*.py' | sort -k2
display the commit log for /srv/svc-09529
git -C /srv/svc-09529 log --oneline -n 20 --grep='fix' | fold -w 120
clean up selected files in /srv/svc-09530
find /srv/svc-09530 -type f -empty -size +10M -delete | awk '{print $2}'
find matching lines for svc-09531
grep -Rn '^#' /etc/svc-09531/config.ini --include='*.go' | cat
scan configuration files for svc-09532
grep -RInE 'ERROR' /var/log/svc-09532.log --include='*.yaml' | wc -l
show the diff in /srv/svc-09533
git -C /srv/svc-09533 diff --name-only HEAD~1..HEAD config/ | grep -i error
search the svc-09534 directory tree
find /srv/svc-09534 -type l -name '*.json' -mtime +7 -exec gzip {} + | cut -d, -f1
inspect network hops for svc-09535.example.com
traceroute -U -p 29535 svc-09535.example.com | sort -u
compare revisions in /srv/svc-09536
git -C /srv/svc-09536 diff --color-words HEAD~1..HEAD src/ | tee -a /tmp/svc-09536.log
scan configuration files for svc-09537
grep -v 'timeout' /var/log/svc-09537.log --include='*.py' 2>&1
display docker container details for svc-09538
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | cat | tee /tmp/svc-09538.out | head -n 20
search the svc-09539 directory tree
find /srv/svc-09539 -mindepth 1 -type f -name '*.gz' -print | uniq -c
clean up selected files in /srv/svc-09540
find /srv/svc-09540 -type l -name '*.conf' -mtime +7 -exec gzip {} + | grep -v '^#'
find matching lines for svc-09541
grep -Ril '^#' /etc/svc-09541/config.ini --exclude='*.min.js' | tail -n 10
list matching paths under /srv/svc-09542
find /srv/svc-09542 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + 2>/dev/null
summarize text columns for svc-09543
awk '$9 == 500 {print $7}' /var/log/svc-09543/access.log | sort | uniq -c | wc -l
check changed files in /srv/svc-09544
git -C /srv/svc-09544 status --ignored --untracked-files=all 2>/dev/null
clean up selected files in /srv/svc-09545
find /srv/svc-09545 -mindepth 1 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
extract JSON fields for svc-09546
jq -S '.items[] | select(.id == 9546) | .name' /srv/svc-09546/health.json | fold -w 120
scan configuration files for svc-09547
grep -n -A3 -B3 'timeout' /var/log/svc-09547.log --include='*.py' | tail -n 50
find files under /srv/svc-09548
find /srv/svc-09548 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | cut -d: -f1
filter JSON records for svc-09549
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-09549/users.json | grep -v '^#'
clean up selected files in /srv/svc-09550
find /srv/svc-09550 -mindepth 1 -type f -empty -delete | wc -l
inspect systemd unit state for svc-09551
systemctl start svc-09551.service | paste -sd, -
list matching paths under /srv/svc-09552
find /srv/svc-09552 -maxdepth 2 -type f -name '*.tmp' -size +10M -print 2>/dev/null
query JSON data for svc-09553
jq -r '.status == "ok"' /srv/svc-09553/config.json | tail -n 10
search the svc-09554 directory tree
find /srv/svc-09554 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | tr -s ' '
summarize git differences for /srv/svc-09555
git -C /srv/svc-09555 diff --check HEAD~2..HEAD 2>/dev/null
compare revisions in /srv/svc-09556
git -C /srv/svc-09556 diff --stat HEAD~1 src/ | cat
list matching paths under /srv/svc-09557
find /srv/svc-09557 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search text for svc-09558
grep -c 'ERROR' /var/log/svc-09558.log --include='*.py' | cut -d: -f1
search the svc-09559 directory tree
find /srv/svc-09559 -type f -name '*.json' -mtime +7 -exec gzip {} + | tee /tmp/svc-09559.out
count matches in svc-09560 data
grep -RIn 'panic[(]' /srv/svc-09560 | tail -n 50
show running containers for svc-09561
docker ps --latest --format '{{.Names}}' --filter 'status=running' | tee -a /tmp/svc-09561.log
scan configuration files for svc-09562
grep -Ril 'panic[(]' /srv/svc-09562 | sort -u
search text for svc-09563
grep -RInE 'FIXME' /srv/svc-09563 --include='*.py' | wc -l
filter log content for svc-09564
grep -Rn 'panic[(]' /srv/svc-09564 --exclude-dir=vendor | tail -n 5
clean up selected files in /srv/svc-09565
find /srv/svc-09565 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
query journal history for svc-09566
journalctl -u svc-09566.service --until '1 hour ago' -n 50 --no-pager | grep -i error
list matching paths under /srv/svc-09567
find /srv/svc-09567 -type l -name '*.gz' -size +50M -print | sort -n
read container logs for svc-09568
docker logs --since '1h' --timestamps svc-09568 | grep -i error | tac
search the svc-09569 directory tree
find /srv/svc-09569 -type f -name '*.tmp' -newermt '1 day ago' -delete | nl -ba
count matches in svc-09570 data
grep -Rn 'panic[(]' /srv/svc-09570 --include='*.py' | tail -n 5
locate matching files in /srv/svc-09571
find /srv/svc-09571 -type l -name '*.conf' -print | tail -n 5
scan configuration files for svc-09572
grep -Ril 'WARN' /var/log/svc-09572.log --include='*.py' 2>&1
search text for svc-09573
grep -n -A3 -B3 '^#' /etc/svc-09573/config.ini --include='*.yaml' | nl -ba
display the commit log for /srv/svc-09574
git -C /srv/svc-09574 log --graph --oneline -n 10 --all | sort -n
clean up selected files in /srv/svc-09575
find /srv/svc-09575 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | head -n 20
locate matching files in /srv/svc-09576
find /srv/svc-09576 -type f -name '*.gz' -newermt '1 day ago' -print | cut -d, -f1
inspect branch and file status for /srv/svc-09577
git -C /srv/svc-09577 status --porcelain=v2 --show-stash --untracked-files=normal | cat
find files under /srv/svc-09578
find /srv/svc-09578 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | less
list changed files in /srv/svc-09579
git -C /srv/svc-09579 diff --stat HEAD~1 src/ | tac
clean up selected files in /srv/svc-09580
find /srv/svc-09580 -maxdepth 2 -type f -name '*.conf' -mtime +7 -delete | sort -k2
read journal entries for svc-09581
journalctl --since '1 hour ago' -u svc-09581.service -n 50 --output=short-iso > /tmp/svc-09581.out