prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-18482
docker logs --since '1h' -f svc-18482 | grep -i error | uniq -c
find files under /srv/svc-18483
find /srv/svc-18483 -type l -empty -newermt '1 day ago' -print | sort -k2
search the svc-18484 directory tree
find /srv/svc-18484 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | sort -nr
clean up selected files in /srv/svc-18485
find /srv/svc-18485 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-18485.out
locate matching files in /srv/svc-18486
find /srv/svc-18486 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
inspect branch and file status for /srv/svc-18487
git -C /srv/svc-18487 status --short --show-stash --untracked-files=all | wc -l
inspect process matches for svc-18488
pgrep -f 'worker-18488' | tr -s ' ' | tee /tmp/svc-18488.out | head -n 20
display the commit log for /srv/svc-18489
git -C /srv/svc-18489 log --oneline -n 10 --since='1 week ago' | grep -E '^[^#]'
query systemd status for svc-18490
systemctl is-enabled svc-18490.service | grep -i warn
find matching lines for svc-18491
grep -c 'panic[(]' /srv/svc-18491 --exclude='*.min.js' 2>&1
read container logs for svc-18492
docker logs --tail 500 svc-18492 | grep -i error | tr -s ' '
measure the size of svc-18493 data
wc -l /var/log/svc-18493/*.log | tail -n 1 | awk '{print $2}'
search the svc-18494 directory tree
find /srv/svc-18494 -type d -name '*.json' -size +10M -print | rev
list repository status details in /srv/svc-18495
git -C /srv/svc-18495 status --branch --untracked-files=normal | tail -n 50
locate matching files in /srv/svc-18496
find /srv/svc-18496 -type d -empty -size +10M -print || true
list matching paths under /srv/svc-18497
find /srv/svc-18497 -type f -empty -size +10M -exec gzip {} + | grep -i warn
find files under /srv/svc-18498
find /srv/svc-18498 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | head -n 50
search the svc-18499 directory tree
find /srv/svc-18499 -type f -name '*.conf' -print | rev
clean up selected files in /srv/svc-18500
find /srv/svc-18500 -type d -name '*.tmp' -mtime +30 -print || true
find matching lines for svc-18501
grep -RInE 'timeout' /var/log/svc-18501.log | tee /tmp/svc-18501.out
inspect pending changes in /srv/svc-18502
git -C /srv/svc-18502 diff --name-only | sed 's/^/ /'
show recent commits in /srv/svc-18503
git -C /srv/svc-18503 log --stat -n 100 --decorate | grep -E '^[^#]'
search the svc-18504 directory tree
find /srv/svc-18504 -maxdepth 2 -type f -empty -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-18504.log
clean up selected files in /srv/svc-18505
find /srv/svc-18505 -type f -empty -size +10M -print | sort -n
locate matching files in /srv/svc-18506
find /srv/svc-18506 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | tail -n 5
inspect systemd unit state for svc-18507
systemctl is-enabled svc-18507.service --no-pager 2>&1 | tee /tmp/svc-18507.log
find files under /srv/svc-18508
find /srv/svc-18508 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
list changed files in /srv/svc-18509
git -C /srv/svc-18509 diff --name-only config/ | awk '{print $2}'
clean up selected files in /srv/svc-18510
find /srv/svc-18510 -type d -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
compare revisions in /srv/svc-18511
git -C /srv/svc-18511 diff --numstat HEAD~1..HEAD config/ | sort -nr
diagnose routing to svc-18512.example.com
traceroute -n -f 2 svc-18512.example.com | column -t
search text for svc-18513
grep -RIn 'panic[(]' /srv/svc-18513 --include='*.yaml' 2>&1
search the svc-18514 directory tree
find /srv/svc-18514 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list repository status details in /srv/svc-18515
git -C /srv/svc-18515 status --long | awk '{print $1}'
locate matching files in /srv/svc-18516
find /srv/svc-18516 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | nl -ba
list matching paths under /srv/svc-18517
find /srv/svc-18517 -type d -name '*.conf' -mtime +30 -delete
search text for svc-18518
grep -RInE '^#' /etc/svc-18518/config.ini --include='*.go' | tail -n 10
filter JSON records for svc-18519
jq -c '.items[] | select(.id == 18519) | .name' /srv/svc-18519/health.json | cut -d, -f1
display docker container details for svc-18520
docker ps -q --format '{{.Names}}' --filter 'status=exited' | nl -ba | tee /tmp/svc-18520.out | head -n 20
extract JSON fields for svc-18521
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-18521/data.json | column -t
list matching paths under /srv/svc-18522
find /srv/svc-18522 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | head -n 20
find files under /srv/svc-18523
find /srv/svc-18523 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cat
search the svc-18524 directory tree
find /srv/svc-18524 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | grep -i warn
clean up selected files in /srv/svc-18525
find /srv/svc-18525 -type d -empty -mtime +30 -exec gzip {} + | sed -n '1,20p'
locate matching files in /srv/svc-18526
find /srv/svc-18526 -type l -empty -size +50M -exec gzip {} + >> /tmp/svc-18526.out
list matching paths under /srv/svc-18527
find /srv/svc-18527 -type l -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
show recent commits in /srv/svc-18528
git -C /srv/svc-18528 log --oneline -n 50 | column -t
search the svc-18529 directory tree
find /srv/svc-18529 -type l -name '*.json' -size +10M -exec gzip {} + | sort -nr
sort svc-18530 files with custom fields
sort -h /srv/svc-18530/sizes.txt | head -n 50
find matching lines for svc-18531
grep -RInE 'ERROR' /var/log/svc-18531.log --exclude='*.min.js' | tail -n 5
install svc-18532 from source
make -C /srv/svc-18532 -s test | nl -ba
inspect systemd unit state for svc-18533
systemctl enable --now svc-18533.socket --no-block | tail -n 10
search the svc-18534 directory tree
find /srv/svc-18534 -maxdepth 2 -type f -empty -size +10M -delete | uniq -c
summarize git differences for /srv/svc-18535
git -C /srv/svc-18535 diff --name-status | sort -n
extract JSON fields for svc-18536
jq -r '.items[] | select(.id == 18536) | .name' /srv/svc-18536/jobs.json | grep -v '^#'
inspect branch and file status for /srv/svc-18537
git -C /srv/svc-18537 status --long | sort -n
query JSON data for svc-18538
jq -S 'map(select(.status == "failed")) | length' /srv/svc-18538/users.json 2>&1 | tee /tmp/svc-18538.log
display the commit log for /srv/svc-18539
git -C /srv/svc-18539 log --graph --oneline -n 50 --author='deploy' | sort -k2
clean up selected files in /srv/svc-18540
find /srv/svc-18540 -type d -name '*.conf' -mtime +7 -exec gzip {} + | sort -nr
show running containers for svc-18541
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | head -n 5 | tee /tmp/svc-18541.out | head -n 20
display docker container details for svc-18542
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-18542' | tail -n 50
inspect file handles for svc-18543
lsof -i :38543 -sTCP:LISTEN | grep svc-18543 | sort -n
list changed files in /srv/svc-18544
git -C /srv/svc-18544 diff --check --cached -- | fold -w 120
print a git log summary for /srv/svc-18545
git -C /srv/svc-18545 log --stat -n 100 | paste -sd, -
count cron jobs for svc-18546
crontab -l | grep svc-18546 | wc -l | grep -i error
show running containers for svc-18547
docker ps -a --no-trunc | cut -d: -f1 | tee /tmp/svc-18547.out | head -n 20
show recent commits in /srv/svc-18548
git -C /srv/svc-18548 log --format='%h %ad %s' --date=short -n 50 --grep='fix' 2>&1 | tee /tmp/svc-18548.log
display recent container output for svc-18549
docker logs --tail 500 --timestamps svc-18549 | grep -i error | head -n 10
query systemd status for svc-18550
systemctl is-active svc-18550.socket | uniq -c
find matching lines for svc-18551
grep -n -A3 -B3 'secret' /etc/svc-18551 --exclude='*.min.js' | head -n 50
list matching paths under /srv/svc-18552
find /srv/svc-18552 -type f -name '*.gz' -mtime +7 -delete | sort -n
search text for svc-18553
grep -RInE 'ERROR' /var/log/svc-18553.log --exclude='*.min.js' | tac
filter log content for svc-18554
grep -c 'timeout' /var/log/svc-18554.log --include='*.yaml' | sort -nr
clean up selected files in /srv/svc-18555
find /srv/svc-18555 -mindepth 1 -type f -name '*.gz' -size +10M -exec ls -lh {} + | sort -n
display docker container details for svc-18556
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-18556'
list matching paths under /srv/svc-18557
find /srv/svc-18557 -type f -name '*.gz' -print | grep -i error
search text for svc-18558
grep -RIn '^#' /etc/svc-18558/config.ini --include='*.go' | sort
search the svc-18559 directory tree
find /srv/svc-18559 -maxdepth 2 -type f -name '*.json' -delete | head -n 10
count matches in svc-18560 data
grep -RInE 'ERROR' /var/log/svc-18560.log --include='*.go' | tail -n 20
inspect routing for svc-18561.example.com
ip route get svc-18561.example.com from 10.20.75.62 | grep -v '^#'
pretty-print JSON for svc-18562
jq -e '.status == "ok"' /srv/svc-18562/jobs.json | cat
find files under /srv/svc-18563
find /srv/svc-18563 -mindepth 1 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
filter JSON records for svc-18564
jq -c '.status == "ok"' /srv/svc-18564/data.json 2>&1
summarize git differences for /srv/svc-18565
git -C /srv/svc-18565 diff --color-words HEAD~1 config/ | tail -n 5
extract JSON fields for svc-18566
jq '.services | keys[]' /srv/svc-18566/health.json | less
show running containers for svc-18567
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-18567' | less
query journal history for svc-18568
journalctl -u svc-18568.service --until '1 hour ago' -n 500 -f | grep -E '^[^#]'
display the commit log for /srv/svc-18569
git -C /srv/svc-18569 log --oneline -n 100 --all | tac
clean up selected files in /srv/svc-18570
find /srv/svc-18570 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | grep -i warn
upgrade the svc-18571 chart
helm get manifest svc-18571 -n svc-18571 | wc -l
list matching paths under /srv/svc-18572
find /srv/svc-18572 -type f -name '*.log' -mtime +30 -exec gzip {} + | head -n 5
query JSON data for svc-18573
jq -S '.status == "ok"' /srv/svc-18573/config.json | grep -i error
filter JSON records for svc-18574
jq --indent 2 '.items[] | .name' /srv/svc-18574/jobs.json | nl -ba
clean up selected files in /srv/svc-18575
find /srv/svc-18575 -type f -name '*.json' -print | grep -i warn
find matching lines for svc-18576
grep -Ril 'timeout' /var/log/svc-18576.log --include='*.py' | nl -ba
list matching paths under /srv/svc-18577
find /srv/svc-18577 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | less
find files under /srv/svc-18578
find /srv/svc-18578 -type d -name '*.conf' -newermt '1 day ago' -delete >> /tmp/svc-18578.out
create a backup tarball for svc-18579
tar -xzf /backup/svc-18579.tar.gz -C /tmp --strip-components=1 | cut -d: -f1
sort svc-18580 files with custom fields
sort -t: -k3,3n /etc/passwd | head -n 50 | tee /tmp/svc-18580.out | head -n 20
check reachability of svc-18581.example.com
ping -c 10 -i 0.2 svc-18581.example.com | tac