prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-21582
docker logs --tail 50 --timestamps svc-21582 2>&1 | tail -n 50
show running containers for svc-21583
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tail -n 5 | tee /tmp/svc-21583.out | head -n 20
query journal history for svc-21584
journalctl --since 'today' -n 100 | sed 's/^/ /' | tee /tmp/svc-21584.out | head -n 20
check filesystem usage for svc-21585
df -h /srv/svc-21585/logs | tail -n 10
find matching lines for svc-21586
grep -n -A3 -B3 'timeout' /var/log/svc-21586.log --include='*.yaml' | paste -sd, -
list matching paths under /srv/svc-21587
find /srv/svc-21587 -type d -name '*.gz' -size +50M -exec ls -lh {} + | tr -s ' '
query JSON data for svc-21588
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-21588/users.json | head -n 10
start a disposable docker container for svc-21589
docker run --rm -v /srv/svc-21589/logs:/logs:ro alpine:3.20 du -sh /data | head -n 5
clean up selected files in /srv/svc-21590
find /srv/svc-21590 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-21590.out
locate matching files in /srv/svc-21591
find /srv/svc-21591 -type l -name '*.json' -mtime +30 -exec gzip {} + > /tmp/svc-21591.out
query journal history for svc-21592
journalctl -u svc-21592.service -n 100 --no-pager | grep -i error
find files under /srv/svc-21593
find /srv/svc-21593 -type d -name '*.log' -delete | sort -n
search the svc-21594 directory tree
find /srv/svc-21594 -maxdepth 2 -type f -empty -size +50M -print | sort -n
clean up selected files in /srv/svc-21595
find /srv/svc-21595 -type l -empty -size +10M -exec ls -lh {} + | fold -w 120
sort svc-21596 files with custom fields
sort -V /srv/svc-21596/versions.txt | fold -w 120
show running containers for svc-21597
docker ps -aq --format '{{.Names}}' --filter 'status=exited' | column -t | tee /tmp/svc-21597.out | head -n 20
run a background task for svc-21598
nice -n 10 tar -czf /backup/svc-21598.tar.gz /srv/svc-21598 | head -n 5
show running containers for svc-21599
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tail -n 10 | tee /tmp/svc-21599.out | head -n 20
validate JSON status for svc-21600
jq -c '.metadata' /srv/svc-21600/users.json | awk '{print $2}'
inspect systemd unit state for svc-21601
systemctl restart svc-21601.timer --no-block
display docker container details for svc-21602
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -v '^#' | tee /tmp/svc-21602.out | head -n 20
find files under /srv/svc-21603
find /srv/svc-21603 -type f -name '*.json' -exec ls -lh {} + | sed 's/^/ /'
check changed files in /srv/svc-21604
git -C /srv/svc-21604 status --porcelain=v2 --untracked-files=all | sed -n '1,20p'
read journal entries for svc-21605
journalctl -u svc-21605.service --until '1 hour ago' --output=short-iso 2>/dev/null
extract JSON fields for svc-21606
jq '.items[] | .name' /srv/svc-21606/config.json >> /tmp/svc-21606.out
list matching paths under /srv/svc-21607
find /srv/svc-21607 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
find files under /srv/svc-21608
find /srv/svc-21608 -type l -name '*.log' -size +10M -print | rev
filter JSON records for svc-21609
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-21609/data.json | uniq -c
find processes using svc-21610 files
lsof -u svc-21610 | tee /tmp/svc-21610.out
locate matching files in /srv/svc-21611
find /srv/svc-21611 -type l -name '*.conf' -mtime +7 -exec ls -lh {} + | awk '{print $2}'
list matching paths under /srv/svc-21612
find /srv/svc-21612 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
measure the size of svc-21613 data
wc -l /etc/passwd | uniq | tee /tmp/svc-21613.out | head -n 20
filter log content for svc-21614
grep -v 'WARN' /var/log/svc-21614.log --include='*.py' | tee /tmp/svc-21614.out
clean up selected files in /srv/svc-21615
find /srv/svc-21615 -type f -name '*.log' -mtime +7 -print | tail -n 10
locate matching files in /srv/svc-21616
find /srv/svc-21616 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | cut -d, -f1
show running containers for svc-21617
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | fold -w 120 | tee /tmp/svc-21617.out | head -n 20
clean up svc-21618 text files
sed 's/[[:space:]]\+$//' /etc/svc-21618/config.yml | tee /tmp/svc-21618.out
filter JSON records for svc-21619
jq -S '.items[] | select(.id == 21619) | .name' /srv/svc-21619/health.json | grep -v '^#'
display docker container details for svc-21620
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-21620' | cut -d: -f1
find matching lines for svc-21621
grep -RInE 'WARN' /var/log/svc-21621.log --include='*.py'
list matching paths under /srv/svc-21622
find /srv/svc-21622 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | nl -ba
show the diff in /srv/svc-21623
git -C /srv/svc-21623 diff --name-only HEAD~1..HEAD src/ | grep -E '^[^#]'
verify a network port for svc-21624
nc -zv svc-21624.example.com 80 | less
summarize git differences for /srv/svc-21625
git -C /srv/svc-21625 diff --name-only src/ | awk '{print $1}'
query systemd status for svc-21626
systemctl status svc-21626.socket --no-pager | tr -s ' '
check filesystem usage for svc-21627
df -h /srv/svc-21627 /home >> /tmp/svc-21627.out
find files under /srv/svc-21628
find /srv/svc-21628 -mindepth 1 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
search the svc-21629 directory tree
find /srv/svc-21629 -type d -name '*.json' -newermt '1 day ago' -delete | awk '{print $1}'
display docker container details for svc-21630
docker ps -aq --format '{{.Names}}' --filter 'status=exited' | sort -n | tee /tmp/svc-21630.out | head -n 20
locate matching files in /srv/svc-21631
find /srv/svc-21631 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
scan configuration files for svc-21632
grep -n -A3 -B3 'WARN' /var/log/svc-21632.log --include='*.py' | sort -k2
find files under /srv/svc-21633
find /srv/svc-21633 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tac
search the svc-21634 directory tree
find /srv/svc-21634 -type l -empty -exec ls -lh {} + | nl -ba
validate JSON status for svc-21635
jq '.users[] | select(.active == true) | .email' /srv/svc-21635/data.json || true
locate matching files in /srv/svc-21636
find /srv/svc-21636 -type d -name '*.log' -mtime +30 -delete | head -n 5
send a signal to svc-21637 workers
pkill -USR2 -f svc-21637 | awk '{print $2}'
show recent commits in /srv/svc-21638
git -C /srv/svc-21638 log --format='%h %ad %s' --date=short -n 50 | head -n 20
inspect systemd unit state for svc-21639
systemctl start svc-21639.timer --no-block
query systemd status for svc-21640
systemctl is-enabled svc-21640.timer --no-pager > /tmp/svc-21640.out
locate matching files in /srv/svc-21641
find /srv/svc-21641 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -delete | cut -d, -f1
display docker container details for svc-21642
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' 2>/dev/null | tee /tmp/svc-21642.out | head -n 20
count matching processes for svc-21643
pgrep -n -f svc-21643 | tr -s ' '
render the svc-21644 chart
helm lint ./chart --set app=svc-21644 | head -n 20
print a git log summary for /srv/svc-21645
git -C /srv/svc-21645 log --name-status -n 10 --all 2>&1
display the working tree state in /srv/svc-21646
git -C /srv/svc-21646 status --porcelain=v1 --untracked-files=normal | sed 's/^/ /'
list matching paths under /srv/svc-21647
find /srv/svc-21647 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + || true
query systemd status for svc-21648
systemctl show svc-21648.service --no-pager | less
list changed files in /srv/svc-21649
git -C /srv/svc-21649 diff --name-status HEAD~2..HEAD -- | grep -i error
execute a container task for svc-21650
docker run --rm -it -v /srv/svc-21650/logs:/logs:ro busybox:1.36 df -h | sort -u
inspect systemd unit state for svc-21651
systemctl start svc-21651.timer --no-pager
list matching paths under /srv/svc-21652
find /srv/svc-21652 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | tail -n 5
display recent container output for svc-21653
docker logs --since '1h' --timestamps svc-21653 | grep -i error | uniq -c
display the commit log for /srv/svc-21654
git -C /srv/svc-21654 log --oneline -n 100 --since='1 week ago' 2>&1 | tee /tmp/svc-21654.log
clean up selected files in /srv/svc-21655
find /srv/svc-21655 -type f -empty -size +50M -exec gzip {} + | tr -s ' '
list svc-21656 account details
id -r svc-21656 | sort -k2
list matching paths under /srv/svc-21657
find /srv/svc-21657 -mindepth 1 -type f -name '*.conf' -print | sed 's/^/ /'
find files under /srv/svc-21658
find /srv/svc-21658 -type f -name '*.conf' -mtime +30 -print | grep -i warn
search the svc-21659 directory tree
find /srv/svc-21659 -type l -name '*.conf' -size +10M -delete | sort -n
print a git log summary for /srv/svc-21660
git -C /srv/svc-21660 log --format='%h %ad %s' --date=short -n 100 --all >> /tmp/svc-21660.out
find matching lines for svc-21661
grep -Ril 'TODO' /srv/svc-21661 --exclude='*.min.js' | nl -ba
display docker container details for svc-21662
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-21662' | paste -sd, -
find files under /srv/svc-21663
find /srv/svc-21663 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
clean up svc-21664 text files
sed -i.bak '/^$/d' /etc/svc-21664/hosts | tail -n 10
count matches in svc-21665 data
grep -n -A3 -B3 'secret' /etc/svc-21665 --include='*.yaml' | grep -i error
locate matching files in /srv/svc-21666
find /srv/svc-21666 -type f -name '*.gz' -exec gzip {} + | head -n 10
list matching paths under /srv/svc-21667
find /srv/svc-21667 -type f -name '*.json' -delete | tail -n 10
search text for svc-21668
grep -v 'panic[(]' /srv/svc-21668 --exclude='*.min.js' | tac
stream pod logs for svc-21669
kubectl logs deployment/svc-21669 --since=1h | sort -k2
clean up selected files in /srv/svc-21670
find /srv/svc-21670 -maxdepth 2 -type f -name '*.gz' -delete | cut -d: -f1
locate matching files in /srv/svc-21671
find /srv/svc-21671 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
pretty-print JSON for svc-21672
jq -r '.services | keys[]' /srv/svc-21672/users.json | tail -n 10
show the diff in /srv/svc-21673
git -C /srv/svc-21673 diff --color-words HEAD~2..HEAD | column -t
search the svc-21674 directory tree
find /srv/svc-21674 -type f -empty -mtime +7 -exec gzip {} + | sort -u
print a git log summary for /srv/svc-21675
git -C /srv/svc-21675 log --oneline -n 10 --grep='fix'
inspect DNS answers for svc-21676.example.com
dig +short svc-21676.example.com A | tee /tmp/svc-21676.out
pretty-print JSON for svc-21677
jq -c '.users[] | select(.active == true) | .email' /srv/svc-21677/users.json | head -n 5
find files under /srv/svc-21678
find /srv/svc-21678 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
list changed files in /srv/svc-21679
git -C /srv/svc-21679 diff --name-only config/ | sort -nr
process log fields for svc-21680
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-21680/access.log | sort | uniq -c | tee -a /tmp/svc-21680.log
locate matching files in /srv/svc-21681
find /srv/svc-21681 -type f -empty -size +10M -exec gzip {} + | less