prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-12482
git -C /srv/svc-12482 diff --name-status origin/main...HEAD 2>&1
find files under /srv/svc-12483
find /srv/svc-12483 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete | tr -s ' '
filter log content for svc-12484
grep -c 'secret' /etc/svc-12484 --exclude='*.min.js' 2>/dev/null
clean up selected files in /srv/svc-12485
find /srv/svc-12485 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
locate matching files in /srv/svc-12486
find /srv/svc-12486 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | tr -s ' '
list matching paths under /srv/svc-12487
find /srv/svc-12487 -type l -empty -size +10M -exec ls -lh {} + | cut -d, -f1
show the diff in /srv/svc-12488
git -C /srv/svc-12488 diff --color-words HEAD~2..HEAD config/ | head -n 50
display the commit log for /srv/svc-12489
git -C /srv/svc-12489 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | tee -a /tmp/svc-12489.log
summarize git differences for /srv/svc-12490
git -C /srv/svc-12490 diff --name-status HEAD~2..HEAD src/ | head -n 50
extract JSON fields for svc-12491
jq -r '.users[] | select(.active == true) | .email' /srv/svc-12491/users.json | cut -d: -f1
list matching paths under /srv/svc-12492
find /srv/svc-12492 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | sed -n '1,20p'
find files under /srv/svc-12493
find /srv/svc-12493 -maxdepth 2 -type f -empty -mtime +7 -delete | uniq
filter log content for svc-12494
grep -v '^#' /etc/svc-12494/config.ini --exclude='*.min.js' | column -t
print a git log summary for /srv/svc-12495
git -C /srv/svc-12495 log --graph --oneline -n 20 --all | sed 's/^/ /'
extract JSON fields for svc-12496
jq --indent 2 '.services | keys[]' /srv/svc-12496/health.json | awk '{print $2}'
list matching paths under /srv/svc-12497
find /srv/svc-12497 -type l -empty -mtime +7 -delete || true
find files under /srv/svc-12498
find /srv/svc-12498 -type f -empty -size +50M -exec ls -lh {} + | less
filter JSON records for svc-12499
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-12499/health.json | tac
count matches in svc-12500 data
grep -Ril 'FIXME' /srv/svc-12500 --include='*.go' | grep -i warn
compare revisions in /srv/svc-12501
git -C /srv/svc-12501 diff --check HEAD~2..HEAD config/ | head -n 50
read container logs for svc-12502
docker logs --tail 500 svc-12502 | grep -i error | fold -w 120
show recent commits in /srv/svc-12503
git -C /srv/svc-12503 log --name-status -n 100 --since='1 week ago' >> /tmp/svc-12503.out
search the svc-12504 directory tree
find /srv/svc-12504 -type l -name '*.json' -mtime +30 -print | awk '{print $2}'
count matches in svc-12505 data
grep -Ril 'TODO' /srv/svc-12505 | tail -n 5
locate matching files in /srv/svc-12506
find /srv/svc-12506 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | rev
scan configuration files for svc-12507
grep -c 'TODO' /srv/svc-12507 --include='*.go' | sort -nr
show the diff in /srv/svc-12508
git -C /srv/svc-12508 diff --stat --cached -- 2>/dev/null
list changed files in /srv/svc-12509
git -C /srv/svc-12509 diff --check --cached -- | tee /tmp/svc-12509.out
clean up selected files in /srv/svc-12510
find /srv/svc-12510 -type d -name '*.json' -delete | tail -n 10
locate matching files in /srv/svc-12511
find /srv/svc-12511 -maxdepth 2 -type f -name '*.conf' -mtime +30 -delete | head -n 50
display docker container details for svc-12512
docker ps --latest | less | tee /tmp/svc-12512.out | head -n 20
find files under /srv/svc-12513
find /srv/svc-12513 -type d -name '*.tmp' -mtime +7 -delete | head -n 5
inspect process matches for svc-12514
pgrep -P 1 -f svc-12514 | nl -ba
clean up selected files in /srv/svc-12515
find /srv/svc-12515 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tail -n 5
display docker container details for svc-12516
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -v '^#' | tee /tmp/svc-12516.out | head -n 20
pretty-print JSON for svc-12517
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-12517/jobs.json | tail -n 20
show the diff in /srv/svc-12518
git -C /srv/svc-12518 diff --name-only config/ | grep -i warn
filter log content for svc-12519
grep -n -A3 -B3 'TODO' /srv/svc-12519 --exclude='*.min.js' | tee -a /tmp/svc-12519.log
clean up selected files in /srv/svc-12520
find /srv/svc-12520 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | uniq -c
display the working tree state in /srv/svc-12521
git -C /srv/svc-12521 status --long --branch --untracked-files=normal | sort
scan configuration files for svc-12522
grep -RIn 'ERROR' /var/log/svc-12522.log | grep -v '^#'
find files under /srv/svc-12523
find /srv/svc-12523 -type d -name '*.gz' -newermt '1 day ago' -print | head -n 20
check changed files in /srv/svc-12524
git -C /srv/svc-12524 status --porcelain=v1 --untracked-files=normal | paste -sd, -
read journal entries for svc-12525
journalctl --since '1 hour ago' -u svc-12525.service -n 50 --output=short-iso | sort
restart svc-12526 by signaling its workers
pkill -TERM -u svc-12526 | cut -d: -f1
list matching paths under /srv/svc-12527
find /srv/svc-12527 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | grep -E '^[^#]'
show the diff in /srv/svc-12528
git -C /srv/svc-12528 diff --stat HEAD~1..HEAD config/ | awk '{print $1}'
search the svc-12529 directory tree
find /srv/svc-12529 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | head -n 20
count matches in svc-12530 data
grep -RIn 'secret' /etc/svc-12530 | paste -sd, -
display recent container output for svc-12531
docker logs --tail 50 -f svc-12531 | grep -i error || true
scan configuration files for svc-12532
grep -RInE 'FIXME' /srv/svc-12532 --include='*.go' | uniq
replace values in svc-12533 files
sed -n '/ERROR/p' /var/log/svc-12533.log | sed 's/^/ /'
search the svc-12534 directory tree
find /srv/svc-12534 -type l -name '*.conf' -mtime +7 -print | fold -w 120
validate JSON status for svc-12535
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-12535/health.json | tail -n 20
compress application files for svc-12536
tar -xzf /backup/svc-12536.tar.gz -C /tmp | cut -d: -f1
start a disposable docker container for svc-12537
docker run --rm -it -v /srv/svc-12537/logs:/logs:ro busybox:1.36 df -h | wc -l
find files under /srv/svc-12538
find /srv/svc-12538 -type l -name '*.log' -newermt '1 day ago' -exec gzip {} + | grep -v '^#'
list changed files in /srv/svc-12539
git -C /srv/svc-12539 diff --check --cached config/ | tail -n 5
check path selection for svc-12540.example.com
ip route get svc-12540.example.com oif lo | less
compare revisions in /srv/svc-12541
git -C /srv/svc-12541 diff --check --cached config/ | head -n 5
query journal history for svc-12542
journalctl -u svc-12542.service --since '24 hours ago' -n 100 --no-pager | paste -sd, -
check reachability of svc-12543.example.com
ping -c 4 -t 5 svc-12543.example.com | sort -k2
search the svc-12544 directory tree
find /srv/svc-12544 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | column -t
count matches in svc-12545 data
grep -RInE 'FIXME' /srv/svc-12545 --include='*.py' | cat
locate matching files in /srv/svc-12546
find /srv/svc-12546 -mindepth 1 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
list matching paths under /srv/svc-12547
find /srv/svc-12547 -type l -name '*.json' -size +10M -delete | awk '{print $2}'
query JSON data for svc-12548
jq --indent 2 '.status == "ok"' /srv/svc-12548/health.json | cut -d, -f1
display the commit log for /srv/svc-12549
git -C /srv/svc-12549 log --oneline -n 20 | sort -u
print a git log summary for /srv/svc-12550
git -C /srv/svc-12550 log --format='%h %ad %s' --date=short -n 50 | awk '{print $2}'
locate matching files in /srv/svc-12551
find /srv/svc-12551 -type f -empty -print | tail -n 50
list svc-12552 account details
id -un svc-12552 | tail -n 50
find files under /srv/svc-12553
find /srv/svc-12553 -type l -name '*.tmp' -size +50M -exec gzip {} + 2>/dev/null
filter JSON records for svc-12554
jq '.status == "ok"' /srv/svc-12554/data.json | grep -v '^#'
count matches in svc-12555 data
grep -Ril 'timeout' /var/log/svc-12555.log --exclude-dir=vendor | tee -a /tmp/svc-12555.log
process log fields for svc-12556
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-12556/app.log | tee -a /tmp/svc-12556.log
inspect pending changes in /srv/svc-12557
git -C /srv/svc-12557 diff --numstat HEAD~1 config/ | grep -E '^[^#]'
find files under /srv/svc-12558
find /srv/svc-12558 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
search the svc-12559 directory tree
find /srv/svc-12559 -type d -empty -newermt '1 day ago' -delete
query journal history for svc-12560
journalctl -u svc-12560.service -n 100 --no-pager | cut -d: -f1
locate matching files in /srv/svc-12561
find /srv/svc-12561 -type f -name '*.log' -exec gzip {} + | head -n 50
check resource use for svc-12562
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-12562 | tee -a /tmp/svc-12562.log
query JSON data for svc-12563
jq -c '.metadata' /srv/svc-12563/config.json || true
summarize svc-12564 file statistics
wc -m /srv/svc-12564/data.txt | grep -i warn
count matches in svc-12565 data
grep -c 'FIXME' /srv/svc-12565 --exclude='*.min.js' | rev
locate matching files in /srv/svc-12566
find /srv/svc-12566 -type d -name '*.json' -size +10M -delete | tee /tmp/svc-12566.out
copy application data for svc-12567
rsync -av --dry-run /srv/svc-12567/ backup@host:/backups/svc-12567/ | rev
restart svc-12568 by signaling its workers
pkill -INT -f svc-12568 | paste -sd, -
summarize text columns for svc-12569
awk '$3 > 100 {print $1}' /srv/svc-12569/data.csv | sort -nr
display docker container details for svc-12570
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-12570' | sort -k2
compare revisions in /srv/svc-12571
git -C /srv/svc-12571 diff --color-words HEAD~1..HEAD config/
list matching paths under /srv/svc-12572
find /srv/svc-12572 -maxdepth 2 -type f -empty -size +50M -exec ls -lh {} + 2>&1 | tee /tmp/svc-12572.log
query JSON data for svc-12573
jq -c '.items[] | .name' /srv/svc-12573/config.json | paste -sd, -
list changed files in /srv/svc-12574
git -C /srv/svc-12574 diff --color-words HEAD~2..HEAD src/ 2>/dev/null
summarize git differences for /srv/svc-12575
git -C /srv/svc-12575 diff --name-only HEAD~1..HEAD src/ | uniq -c
locate matching files in /srv/svc-12576
find /srv/svc-12576 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
list matching paths under /srv/svc-12577
find /srv/svc-12577 -type d -empty -mtime +30 -delete | tail -n 5
find files under /srv/svc-12578
find /srv/svc-12578 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
filter log content for svc-12579
grep -RIn 'TODO' /srv/svc-12579 --exclude='*.min.js' | sort -k2
clean up selected files in /srv/svc-12580
find /srv/svc-12580 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | awk '{print $2}'
replace values in svc-12581 files
sed -i '/ERROR/p' /var/log/svc-12581.log | head -n 50