prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-20682
journalctl --since '1 hour ago' -u svc-20682.service -n 100 --output=short-iso | sed -n '1,20p'
find files under /srv/svc-20683
find /srv/svc-20683 -type l -name '*.tmp' -size +10M -delete | fold -w 120
search the svc-20684 directory tree
find /srv/svc-20684 -type l -name '*.tmp' -newermt '1 day ago' -delete | head -n 10
inspect routing for svc-20685.example.com
ip route get svc-20685.example.com | head -n 1 | sed -n '1,20p'
compare revisions in /srv/svc-20686
git -C /srv/svc-20686 diff --stat HEAD~1 | grep -i warn
list scheduled jobs for svc-20687
crontab -l | grep svc-20687 | awk '{print $1}' | awk '{print $2}'
clean up svc-20688 text files
sed -i.bak '/^$/d' /etc/svc-20688/hosts | sort
display the commit log for /srv/svc-20689
git -C /srv/svc-20689 log --graph --oneline -n 50 --since='1 week ago' | sort
clean up selected files in /srv/svc-20690
find /srv/svc-20690 -type d -name '*.tmp' -mtime +7 -delete | tail -n 50
find matching lines for svc-20691
grep -c 'FIXME' /srv/svc-20691 --exclude-dir=vendor | grep -E '^[^#]'
pretty-print JSON for svc-20692
jq -e 'map(select(.status == "failed")) | length' /srv/svc-20692/data.json | head -n 50
query JSON data for svc-20693
jq '.items[] | [.id, .name] | @tsv' /srv/svc-20693/jobs.json | tail -n 5
search the svc-20694 directory tree
find /srv/svc-20694 -type d -name '*.gz' -mtime +7 -exec gzip {} + | cat
validate JSON status for svc-20695
jq '.users[] | select(.active == true) | .email' /srv/svc-20695/config.json | rev
locate matching files in /srv/svc-20696
find /srv/svc-20696 -type f -name '*.log' -size +10M -print | grep -i error
inspect systemd unit state for svc-20697
systemctl restart svc-20697.socket --no-block | tail -n 5
query journal history for svc-20698
journalctl --since 'today' -n 100 --no-pager | cut -d, -f1 | tee /tmp/svc-20698.out | head -n 20
display recent container output for svc-20699
docker logs --tail 50 svc-20699 | grep -i error | tail -n 10
clean up selected files in /srv/svc-20700
find /srv/svc-20700 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | tac
compare revisions in /srv/svc-20701
git -C /srv/svc-20701 diff --name-only HEAD~2..HEAD src/ | head -n 20
inspect recent changes in /srv/svc-20702
git -C /srv/svc-20702 log --graph --oneline -n 20 --all | less
query JSON data for svc-20703
jq --indent 2 '.metadata' /srv/svc-20703/config.json | head -n 50
list changed files in /srv/svc-20704
git -C /srv/svc-20704 diff --check src/ >> /tmp/svc-20704.out
clean up selected files in /srv/svc-20705
find /srv/svc-20705 -type l -name '*.tmp' -print | head -n 5
list svc-20706 account details
id -g svc-20706 | awk '{print $1}'
list matching paths under /srv/svc-20707
find /srv/svc-20707 -maxdepth 2 -type f -name '*.json' -delete > /tmp/svc-20707.out
find files under /srv/svc-20708
find /srv/svc-20708 -type f -name '*.conf' -delete | tail -n 10
show running containers for svc-20709
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | grep -i warn | tee /tmp/svc-20709.out | head -n 20
clean up selected files in /srv/svc-20710
find /srv/svc-20710 -type d -empty -newermt '1 day ago' -delete | head -n 50
find matching lines for svc-20711
grep -c 'WARN' /var/log/svc-20711.log | head -n 10
inspect pending changes in /srv/svc-20712
git -C /srv/svc-20712 diff --name-status HEAD~1 | head -n 20
search text for svc-20713
grep -RIn 'panic[(]' /srv/svc-20713 | sort -k2
search the svc-20714 directory tree
find /srv/svc-20714 -type l -name '*.conf' -size +10M -delete 2>&1
show running containers for svc-20715
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | head -n 20 | tee /tmp/svc-20715.out | head -n 20
execute a container task for svc-20716
docker run --rm -d --network host alpine:3.20 du -sh /data | sort -u | tee /tmp/svc-20716.out | head -n 20
list matching paths under /srv/svc-20717
find /srv/svc-20717 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10
query JSON data for svc-20718
jq -e '.metadata' /srv/svc-20718/users.json | rev
search the svc-20719 directory tree
find /srv/svc-20719 -type l -name '*.conf' -mtime +7 -exec gzip {} + | nl -ba
query systemd status for svc-20720
systemctl enable --now svc-20720.socket --no-block > /tmp/svc-20720.out
locate matching files in /srv/svc-20721
find /srv/svc-20721 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | sed -n '1,20p'
scan configuration files for svc-20722
grep -RIn 'secret' /etc/svc-20722 | cat
find files under /srv/svc-20723
find /srv/svc-20723 -type f -name '*.json' -size +50M -print 2>&1 | tee /tmp/svc-20723.log
filter log content for svc-20724
grep -c 'ERROR' /var/log/svc-20724.log --exclude-dir=vendor | tee -a /tmp/svc-20724.log
print a git log summary for /srv/svc-20725
git -C /srv/svc-20725 log --graph --oneline -n 20 --decorate | head -n 50
locate matching files in /srv/svc-20726
find /srv/svc-20726 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
list matching paths under /srv/svc-20727
find /srv/svc-20727 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | grep -i error
search text for svc-20728
grep -n -A3 -B3 'panic[(]' /srv/svc-20728 --exclude-dir=vendor | sort -u
inspect systemd unit state for svc-20729
systemctl show svc-20729.service --no-pager | head -n 50
clean up selected files in /srv/svc-20730
find /srv/svc-20730 -type d -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-20730.out
locate matching files in /srv/svc-20731
find /srv/svc-20731 -type d -name '*.gz' -size +10M -exec ls -lh {} + | grep -i warn
pretty-print JSON for svc-20732
jq '.users[] | select(.active == true) | .email' /srv/svc-20732/jobs.json | cut -d: -f1
find files under /srv/svc-20733
find /srv/svc-20733 -type d -name '*.conf' -size +10M -exec ls -lh {} + | grep -E '^[^#]'
display the commit log for /srv/svc-20734
git -C /srv/svc-20734 log --name-status -n 10 --since='1 week ago' | grep -i warn
show running containers for svc-20735
docker ps -a --no-trunc --filter 'status=exited' 2>/dev/null | tee /tmp/svc-20735.out | head -n 20
query systemd status for svc-20736
systemctl restart svc-20736.socket --no-pager | nl -ba
list matching paths under /srv/svc-20737
find /srv/svc-20737 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | less
render the svc-20738 chart
helm rollback svc-20738 1 -n svc-20738 | sed -n '1,20p'
check changed files in /srv/svc-20739
git -C /srv/svc-20739 status --porcelain=v2 --ignored --untracked-files=all | head -n 50
list repository status details in /srv/svc-20740
git -C /srv/svc-20740 status --long --untracked-files=all | sed 's/^/ /'
locate matching files in /srv/svc-20741
find /srv/svc-20741 -type d -empty -mtime +7 -delete | tee /tmp/svc-20741.out
query systemd status for svc-20742
systemctl reload svc-20742.service --no-pager 2>&1 | tee /tmp/svc-20742.log
summarize text columns for svc-20743
awk -F'\t' '{print length($0), $0}' /etc/svc-20743/config.ini | sort -nr | head | sort -u
search the svc-20744 directory tree
find /srv/svc-20744 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
clean up selected files in /srv/svc-20745
find /srv/svc-20745 -type d -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-20745.log
display docker container details for svc-20746
docker ps --latest --format '{{.Names}}' --filter 'status=exited' | cut -d, -f1 | tee /tmp/svc-20746.out | head -n 20
pretty-print JSON for svc-20747
jq -e '.items[] | .name' /srv/svc-20747/users.json | fold -w 120
restart svc-20748 by signaling its workers
pkill -INT -f svc-20748 | head -n 5
search the svc-20749 directory tree
find /srv/svc-20749 -type f -empty -size +50M -print | uniq -c
count matches in svc-20750 data
grep -n -A3 -B3 '^#' /etc/svc-20750/config.ini --include='*.go' | tail -n 20
locate matching files in /srv/svc-20751
find /srv/svc-20751 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | sed 's/^/ /'
list matching paths under /srv/svc-20752
find /srv/svc-20752 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | sed -n '1,20p'
show recent commits in /srv/svc-20753
git -C /srv/svc-20753 log --oneline -n 50 --author='deploy' | sort -k2
search the svc-20754 directory tree
find /srv/svc-20754 -type d -empty -exec gzip {} + > /tmp/svc-20754.out
clean up selected files in /srv/svc-20755
find /srv/svc-20755 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | grep -E '^[^#]'
find matching lines for svc-20756
grep -n -A3 -B3 'panic[(]' /srv/svc-20756 --exclude-dir=vendor || true
scan configuration files for svc-20757
grep -RIn 'FIXME' /srv/svc-20757 --include='*.yaml' | head -n 10
find duplicate values for svc-20758
uniq -c -i /var/log/svc-20758.log | sort -nr | head
search the svc-20759 directory tree
find /srv/svc-20759 -type d -name '*.log' -mtime +30 -print | tail -n 20
clean up selected files in /srv/svc-20760
find /srv/svc-20760 -type d -name '*.log' -size +10M -exec ls -lh {} + | column -t
inspect systemd unit state for svc-20761
systemctl is-enabled svc-20761.socket | cut -d, -f1
list matching paths under /srv/svc-20762
find /srv/svc-20762 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
search text for svc-20763
grep -RIn 'timeout' /var/log/svc-20763.log --exclude-dir=vendor | nl -ba
search the svc-20764 directory tree
find /srv/svc-20764 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | rev
count matches in svc-20765 data
grep -v 'secret' /etc/svc-20765 --exclude='*.min.js' | paste -sd, -
find matching lines for svc-20766
grep -v 'FIXME' /srv/svc-20766 --exclude='*.min.js' | uniq -c
scan configuration files for svc-20767
grep -v 'WARN' /var/log/svc-20767.log | sed -n '1,20p'
find files under /srv/svc-20768
find /srv/svc-20768 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | head -n 50
filter log content for svc-20769
grep -Ril 'ERROR' /var/log/svc-20769.log --exclude='*.min.js' | nl -ba
list repository status details in /srv/svc-20770
git -C /srv/svc-20770 status --porcelain=v2 --untracked-files=normal | sort -u
list git history for /srv/svc-20771
git -C /srv/svc-20771 log --oneline -n 50 --since='1 week ago' | grep -v '^#'
check path selection for svc-20772.example.com
ip route get svc-20772.example.com | uniq -c
find files under /srv/svc-20773
find /srv/svc-20773 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | sed -n '1,20p'
search the svc-20774 directory tree
find /srv/svc-20774 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
upgrade the svc-20775 chart
helm upgrade svc-20775 ./chart -n svc-20775 | tail -n 5
process log fields for svc-20776
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-20776.log | grep -i warn
inspect systemd unit state for svc-20777
systemctl is-enabled svc-20777.socket | sort
find files under /srv/svc-20778
find /srv/svc-20778 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | sed -n '1,20p'
filter JSON records for svc-20779
jq '.items[] | .name' /srv/svc-20779/data.json | column -t
clean up selected files in /srv/svc-20780
find /srv/svc-20780 -mindepth 1 -type f -name '*.conf' -size +10M -print | tr -s ' '
locate matching files in /srv/svc-20781
find /srv/svc-20781 -type l -name '*.conf' -size +10M -print | sed 's/^/ /'