prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-20582
git -C /srv/svc-20582 diff --stat origin/main...HEAD 2>&1 | tee /tmp/svc-20582.log
find files under /srv/svc-20583
find /srv/svc-20583 -type l -name '*.log' -delete | wc -l
transfer svc-20584 data with rsync
rsync -avz --exclude='*.log' /srv/svc-20584/ backup@host:/backups/svc-20584/ | less
print a git log summary for /srv/svc-20585
git -C /srv/svc-20585 log --name-status -n 20 --since='1 week ago' | sort -k2
query journal history for svc-20586
journalctl -u svc-20586.service --since '1 hour ago' -n 50 2>&1 | tee /tmp/svc-20586.log
show pods for svc-20587
kubectl get all -n svc-20587 | awk '{print $2}'
find files under /srv/svc-20588
find /srv/svc-20588 -type f -name '*.log' -newermt '1 day ago' -print | less
filter log content for svc-20589
grep -n -A3 -B3 'timeout' /var/log/svc-20589.log --exclude='*.min.js' > /tmp/svc-20589.out
clean up selected files in /srv/svc-20590
find /srv/svc-20590 -type d -name '*.tmp' -size +10M -exec ls -lh {} + 2>/dev/null
locate matching files in /srv/svc-20591
find /srv/svc-20591 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | less
post a test request for svc-20592
curl -I http://127.0.0.1:40592/svc-20592/ >> /tmp/svc-20592.out
find files under /srv/svc-20593
find /srv/svc-20593 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
list changed files in /srv/svc-20594
git -C /srv/svc-20594 diff --stat src/ | sed 's/^/ /'
clean up selected files in /srv/svc-20595
find /srv/svc-20595 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | sort -k2
install svc-20596 from source
make -C /srv/svc-20596 lint | grep -E '^[^#]'
list matching paths under /srv/svc-20597
find /srv/svc-20597 -type f -name '*.conf' -size +10M -exec gzip {} + | cat
find files under /srv/svc-20598
find /srv/svc-20598 -type l -name '*.conf' -size +10M -print | grep -i error
display the commit log for /srv/svc-20599
git -C /srv/svc-20599 log --graph --oneline -n 10 | sort -u
clean up selected files in /srv/svc-20600
find /srv/svc-20600 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
find matching lines for svc-20601
grep -Ril 'ERROR' /var/log/svc-20601.log | tee /tmp/svc-20601.out
scan configuration files for svc-20602
grep -c '^#' /etc/svc-20602/config.ini --include='*.yaml' >> /tmp/svc-20602.out
show the diff in /srv/svc-20603
git -C /srv/svc-20603 diff --numstat HEAD~2..HEAD config/ || true
search the svc-20604 directory tree
find /srv/svc-20604 -maxdepth 2 -type f -name '*.log' -delete | grep -i error
count matches in svc-20605 data
grep -RIn 'FIXME' /srv/svc-20605 --exclude-dir=vendor | tail -n 10
locate matching files in /srv/svc-20606
find /srv/svc-20606 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | sort -u
read journal entries for svc-20607
journalctl -u svc-20607.service -n 50 -f | grep -v '^#'
query JSON data for svc-20608
jq -S '.items[] | .name' /srv/svc-20608/users.json | tee /tmp/svc-20608.out
list changed files in /srv/svc-20609
git -C /srv/svc-20609 diff --name-only HEAD~1 -- | uniq -c
count matches in svc-20610 data
grep -n -A3 -B3 '^#' /etc/svc-20610/config.ini || true
locate matching files in /srv/svc-20611
find /srv/svc-20611 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
scan configuration files for svc-20612
grep -Ril '^#' /etc/svc-20612/config.ini --exclude='*.min.js' > /tmp/svc-20612.out
find files under /srv/svc-20613
find /srv/svc-20613 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
search the svc-20614 directory tree
find /srv/svc-20614 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + > /tmp/svc-20614.out
clean up selected files in /srv/svc-20615
find /srv/svc-20615 -mindepth 1 -type f -name '*.gz' -size +50M -exec gzip {} + || true
find matching lines for svc-20616
grep -Rn '^#' /etc/svc-20616/config.ini --include='*.yaml' | uniq
inspect systemd unit state for svc-20617
systemctl enable --now svc-20617.timer | grep -E '^[^#]'
query JSON data for svc-20618
jq -e '.users[] | select(.active == true) | .email' /srv/svc-20618/data.json | nl -ba
inspect systemd unit state for svc-20619
systemctl status svc-20619.service --no-pager | column -t
count matches in svc-20620 data
grep -RInE 'secret' /etc/svc-20620 | fold -w 120
locate matching files in /srv/svc-20621
find /srv/svc-20621 -type f -name '*.conf' -print 2>/dev/null
list matching paths under /srv/svc-20622
find /srv/svc-20622 -mindepth 1 -type f -name '*.conf' -mtime +30 -print 2>&1
show directory sizes for svc-20623
du -ah /srv/svc-20623 | sort -rh | head -n 20 | sort
filter log content for svc-20624
grep -RIn 'secret' /etc/svc-20624 --include='*.yaml' | fold -w 120
clean up selected files in /srv/svc-20625
find /srv/svc-20625 -mindepth 1 -type f -name '*.gz' -print | wc -l
extract JSON fields for svc-20626
jq -r '.items[] | select(.id == 20626) | .name' /srv/svc-20626/data.json | uniq -c
list matching paths under /srv/svc-20627
find /srv/svc-20627 -type l -name '*.log' -mtime +30 -exec gzip {} + | sed 's/^/ /'
query journal history for svc-20628
journalctl -u svc-20628.service --no-pager | grep -E '^[^#]'
search the svc-20629 directory tree
find /srv/svc-20629 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | head -n 20
clean up selected files in /srv/svc-20630
find /srv/svc-20630 -type d -name '*.log' -size +10M -exec gzip {} + >> /tmp/svc-20630.out
find matching lines for svc-20631
grep -Rn 'secret' /etc/svc-20631 --exclude-dir=vendor | tail -n 20
query journal history for svc-20632
journalctl -u svc-20632.service --since '24 hours ago' -n 100 -f | column -t
search text for svc-20633
grep -RIn 'FIXME' /srv/svc-20633 --exclude='*.min.js' | tac
list changed files in /srv/svc-20634
git -C /srv/svc-20634 diff --color-words --cached -- | paste -sd, -
check reachability of svc-20635.example.com
ping -c 4 -t 5 svc-20635.example.com || true
locate matching files in /srv/svc-20636
find /srv/svc-20636 -type f -name '*.gz' -exec ls -lh {} + | cut -d, -f1
list matching paths under /srv/svc-20637
find /srv/svc-20637 -type l -name '*.log' -size +50M -print | head -n 20
find files under /srv/svc-20638
find /srv/svc-20638 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
filter log content for svc-20639
grep -Ril 'panic[(]' /srv/svc-20639 --include='*.go' | sort -n
clean up selected files in /srv/svc-20640
find /srv/svc-20640 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
locate matching files in /srv/svc-20641
find /srv/svc-20641 -type f -name '*.tmp' -delete | head -n 20
scan configuration files for svc-20642
grep -v 'secret' /etc/svc-20642 --include='*.py' | nl -ba
find files under /srv/svc-20643
find /srv/svc-20643 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search the svc-20644 directory tree
find /srv/svc-20644 -type l -name '*.json' -size +10M -exec gzip {} + | sort
count matches in svc-20645 data
grep -n -A3 -B3 'FIXME' /srv/svc-20645 --include='*.py' | head -n 50
locate matching files in /srv/svc-20646
find /srv/svc-20646 -type f -name '*.gz' -mtime +7 -delete | tail -n 50
list matching paths under /srv/svc-20647
find /srv/svc-20647 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | rev
find files under /srv/svc-20648
find /srv/svc-20648 -type l -name '*.tmp' -print | tr -s ' '
summarize text columns for svc-20649
awk -F, 'NR > 1 {print $2}' /srv/svc-20649/users.csv
summarize svc-20650 storage use
du -sh /var/log/svc-20650 > /tmp/svc-20650.out
extract JSON fields for svc-20651
jq -r '.services | keys[]' /srv/svc-20651/config.json | tr -s ' '
execute a container task for svc-20652
docker run --rm -it -v /srv/svc-20652:/data alpine:3.20 sh -c 'cat /etc/os-release' | cut -d: -f1
inspect systemd unit state for svc-20653
systemctl reload svc-20653.timer >> /tmp/svc-20653.out
query systemd status for svc-20654
systemctl stop svc-20654.service --no-pager | head -n 10
list repository status details in /srv/svc-20655
git -C /srv/svc-20655 status --ignored | uniq -c
find duplicate values for svc-20656
uniq -d /var/log/svc-20656.log | tr -s ' '
list matching paths under /srv/svc-20657
find /srv/svc-20657 -maxdepth 2 -type f -name '*.conf' -size +10M -delete | uniq -c
find files under /srv/svc-20658
find /srv/svc-20658 -type d -name '*.log' -size +50M -print | sed -n '1,20p'
search the svc-20659 directory tree
find /srv/svc-20659 -maxdepth 2 -type f -empty -delete | less
clean up selected files in /srv/svc-20660
find /srv/svc-20660 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
extract JSON fields for svc-20661
jq -S '.users[] | select(.active == true) | .email' /srv/svc-20661/jobs.json | tail -n 20
inspect pending changes in /srv/svc-20662
git -C /srv/svc-20662 diff --stat HEAD~2..HEAD -- | tail -n 50
show git status for /srv/svc-20663
git -C /srv/svc-20663 status --branch --untracked-files=normal | grep -i warn
read container logs for svc-20664
docker logs --tail 50 -f svc-20664 2>&1 | grep -i warn
clean up selected files in /srv/svc-20665
find /srv/svc-20665 -mindepth 1 -type f -name '*.log' -size +50M -print 2>&1 | tee /tmp/svc-20665.log
locate matching files in /srv/svc-20666
find /srv/svc-20666 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | sed -n '1,20p'
deduplicate svc-20667 log entries
uniq -f 1 /var/log/svc-20667.log | tail -n 10
query JSON data for svc-20668
jq -r '.items[] | select(.id == 20668) | .name' /srv/svc-20668/data.json | grep -E '^[^#]'
filter JSON records for svc-20669
jq -r '.services | keys[]' /srv/svc-20669/users.json | head -n 10
summarize git differences for /srv/svc-20670
git -C /srv/svc-20670 diff --name-only config/ | uniq -c
list git history for /srv/svc-20671
git -C /srv/svc-20671 log --format='%h %ad %s' --date=short -n 10 --grep='fix' | head -n 5
inspect branch and file status for /srv/svc-20672
git -C /srv/svc-20672 status --long --show-stash --untracked-files=all | grep -v '^#'
find files under /srv/svc-20673
find /srv/svc-20673 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-20673.out
diagnose routing to svc-20674.example.com
traceroute -n -f 2 svc-20674.example.com | head -n 5
clean up selected files in /srv/svc-20675
find /srv/svc-20675 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}'
compare revisions in /srv/svc-20676
git -C /srv/svc-20676 diff --color-words HEAD~2..HEAD config/ | head -n 5
scan configuration files for svc-20677
grep -n -A3 -B3 'secret' /etc/svc-20677 --exclude='*.min.js' | grep -v '^#'
find duplicate values for svc-20678
uniq -d /var/log/svc-20678.log | cat
search the svc-20679 directory tree
find /srv/svc-20679 -mindepth 1 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
validate JSON status for svc-20680
jq --indent 2 '.items[] | select(.id == 20680) | .name' /srv/svc-20680/config.json | head -n 20
locate matching files in /srv/svc-20681
find /srv/svc-20681 -maxdepth 2 -type f -name '*.conf' -size +50M -delete | less