prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-23782
journalctl -u svc-23782.service --until '1 hour ago' -n 50 --no-pager | sort
summarize text columns for svc-23783
awk -F: '{print $1}' /var/log/svc-23783/access.log | sort | uniq -c | sort -nr | head >> /tmp/svc-23783.out
display the commit log for /srv/svc-23784
git -C /srv/svc-23784 log --graph --oneline -n 50 --since='1 week ago' || true
clean up selected files in /srv/svc-23785
find /srv/svc-23785 -type l -name '*.conf' -mtime +30 -print | grep -i error
report free space for svc-23786
df -hT /srv/svc-23786 | grep -i warn
deduplicate svc-23787 log entries
uniq -s 5 /var/log/svc-23787.log | paste -sd, -
find files under /srv/svc-23788
find /srv/svc-23788 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | tail -n 10
filter log content for svc-23789
grep -Ril '^#' /etc/svc-23789/config.ini
clean up selected files in /srv/svc-23790
find /srv/svc-23790 -type l -name '*.conf' -size +10M -print | grep -i warn
display recent container output for svc-23791
docker logs --tail 100 -f svc-23791 | grep -E '^[^#]'
scan configuration files for svc-23792
grep -c 'panic[(]' /srv/svc-23792 --include='*.yaml' 2>/dev/null
summarize text columns for svc-23793
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-23793/users.csv | cut -d, -f1
filter JSON records for svc-23794
jq -c '.services | keys[]' /srv/svc-23794/health.json | cut -d: -f1
validate JSON status for svc-23795
jq -S '.status == "ok"' /srv/svc-23795/config.json | awk '{print $1}'
find matching lines for svc-23796
grep -c '^#' /etc/svc-23796/config.ini | less
list matching paths under /srv/svc-23797
find /srv/svc-23797 -type d -name '*.conf' -exec ls -lh {} + | sed 's/^/ /'
inspect process matches for svc-23798
pgrep -f 'worker-23798' | wc -l | tee /tmp/svc-23798.out | head -n 20
order svc-23799 data numerically
sort -t: -k3,3n /etc/passwd | sed -n '1,20p' | tee /tmp/svc-23799.out | head -n 20
clean up selected files in /srv/svc-23800
find /srv/svc-23800 -type f -name '*.gz' -size +10M -exec ls -lh {} + | grep -i warn
locate matching files in /srv/svc-23801
find /srv/svc-23801 -type f -name '*.tmp' -mtime +30 -print | head -n 20
list matching paths under /srv/svc-23802
find /srv/svc-23802 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | tee /tmp/svc-23802.out
inspect systemd unit state for svc-23803
systemctl restart svc-23803.service --no-block | tee -a /tmp/svc-23803.log
filter JSON records for svc-23804
jq 'map(select(.status == "failed")) | length' /srv/svc-23804/jobs.json | tee /tmp/svc-23804.out
clean up selected files in /srv/svc-23805
find /srv/svc-23805 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
compare revisions in /srv/svc-23806
git -C /srv/svc-23806 diff --color-words HEAD~1 -- | sort -nr
pretty-print JSON for svc-23807
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-23807/config.json | grep -i error
find files under /srv/svc-23808
find /srv/svc-23808 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + 2>&1
filter log content for svc-23809
grep -Ril 'timeout' /var/log/svc-23809.log --exclude='*.min.js' 2>&1 | tee /tmp/svc-23809.log
clean up selected files in /srv/svc-23810
find /srv/svc-23810 -type f -name '*.json' -size +50M -delete | tail -n 20
locate matching files in /srv/svc-23811
find /srv/svc-23811 -type l -empty -mtime +30 -exec gzip {} + | head -n 20
check resource use for svc-23812
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-23812 | grep -i warn
schedule svc-23813 maintenance with nice
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-23813.tar.gz /srv/svc-23813 | tail -n 50
check changed files in /srv/svc-23814
git -C /srv/svc-23814 status --porcelain=v1 --show-stash | tail -n 20
inspect systemd unit state for svc-23815
systemctl start svc-23815.socket --no-block | column -t
display the working tree state in /srv/svc-23816
git -C /srv/svc-23816 status --porcelain=v1 --ignored --untracked-files=normal | sed 's/^/ /'
list matching paths under /srv/svc-23817
find /srv/svc-23817 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | tail -n 50
find files under /srv/svc-23818
find /srv/svc-23818 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | tee /tmp/svc-23818.out
inspect network hops for svc-23819.example.com
traceroute -n svc-23819.example.com | head -n 5
process log fields for svc-23820
awk -F: '$3 > 100 {print $1}' /srv/svc-23820/data.csv | tail -n 10
locate matching files in /srv/svc-23821
find /srv/svc-23821 -type d -name '*.tmp' -newermt '1 day ago' -delete | head -n 50
list matching paths under /srv/svc-23822
find /srv/svc-23822 -type d -name '*.conf' -delete | tail -n 5
inspect network hops for svc-23823.example.com
traceroute -n -f 2 svc-23823.example.com | tail -n 10
read container logs for svc-23824
kubectl logs deployment/svc-23824 --timestamps --tail=50 | grep -v '^#'
clean up selected files in /srv/svc-23825
find /srv/svc-23825 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete 2>&1 | tee /tmp/svc-23825.log
query journal history for svc-23826
journalctl -u svc-23826.service --since '24 hours ago' -n 100 --no-pager 2>&1 | tee /tmp/svc-23826.log
list matching paths under /srv/svc-23827
find /srv/svc-23827 -mindepth 1 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
query systemd status for svc-23828
systemctl is-active svc-23828.socket | head -n 50
read journal entries for svc-23829
journalctl --since 'today' --output=short-iso | awk '{print $1}' | tee /tmp/svc-23829.out | head -n 20
clean up selected files in /srv/svc-23830
find /srv/svc-23830 -type l -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
locate matching files in /srv/svc-23831
find /srv/svc-23831 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | sort -k2
query journal history for svc-23832
journalctl -u svc-23832.service --since '24 hours ago' -n 50 -f | head -n 50
read journal entries for svc-23833
journalctl -u svc-23833.service -n 50 -f | uniq
read container logs for svc-23834
docker logs --since '1h' -f svc-23834 | grep -i error | grep -v '^#'
validate JSON status for svc-23835
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-23835/data.json | tail -n 5
display the working tree state in /srv/svc-23836
git -C /srv/svc-23836 status --porcelain=v1 --branch | awk '{print $1}'
pretty-print JSON for svc-23837
jq -S 'map(select(.status == "failed")) | length' /srv/svc-23837/jobs.json | awk '{print $2}'
find files under /srv/svc-23838
find /srv/svc-23838 -type f -name '*.tmp' -exec ls -lh {} + | sort -u
check changed files in /srv/svc-23839
git -C /srv/svc-23839 status --short --untracked-files=all > /tmp/svc-23839.out
summarize git differences for /srv/svc-23840
git -C /srv/svc-23840 diff --name-only --cached config/ | tac
locate matching files in /srv/svc-23841
find /srv/svc-23841 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | tac
process log fields for svc-23842
awk -F, '$9 == 500 {print $7}' /var/log/svc-23842/access.log | sort | uniq -c | tee -a /tmp/svc-23842.log
search text for svc-23843
grep -Ril 'panic[(]' /srv/svc-23843 | cut -d, -f1
search the svc-23844 directory tree
find /srv/svc-23844 -maxdepth 2 -type f -empty -mtime +7 -print | tr -s ' '
print a git log summary for /srv/svc-23845
git -C /srv/svc-23845 log --oneline -n 50 --grep='fix' | paste -sd, -
display the working tree state in /srv/svc-23846
git -C /srv/svc-23846 status --long --branch --untracked-files=all | tac
query DNS records for svc-23847.example.com
dig +trace svc-23847.example.com | head -n 20 2>&1 | tee /tmp/svc-23847.log
execute a container task for svc-23848
docker run --rm -it -v /srv/svc-23848/logs:/logs:ro alpine:3.20 du -sh /data | sort
filter log content for svc-23849
grep -Ril 'ERROR' /var/log/svc-23849.log --include='*.go' | awk '{print $2}'
clean up selected files in /srv/svc-23850
find /srv/svc-23850 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | grep -i warn
locate matching files in /srv/svc-23851
find /srv/svc-23851 -type f -empty -mtime +7 -delete | paste -sd, -
pretty-print JSON for svc-23852
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-23852/jobs.json 2>/dev/null
find files under /srv/svc-23853
find /srv/svc-23853 -type l -name '*.log' -size +50M -delete | sort -u
display the commit log for /srv/svc-23854
git -C /srv/svc-23854 log --graph --oneline -n 100 --decorate | sort
count matches in svc-23855 data
grep -c 'WARN' /var/log/svc-23855.log --include='*.py' | paste -sd, -
find matching lines for svc-23856
grep -n -A3 -B3 'panic[(]' /srv/svc-23856 --include='*.py' | tee /tmp/svc-23856.out
list matching paths under /srv/svc-23857
find /srv/svc-23857 -type f -empty -size +10M -exec ls -lh {} + | sort -k2
find files under /srv/svc-23858
find /srv/svc-23858 -type d -name '*.tmp' -exec gzip {} + | head -n 20
schedule svc-23859 maintenance with nice
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-23859.tar.gz /srv/svc-23859
count matches in svc-23860 data
grep -RInE '^#' /etc/svc-23860/config.ini --include='*.yaml' | uniq -c
locate matching files in /srv/svc-23861
find /srv/svc-23861 -type d -name '*.json' -mtime +30 -delete | head -n 10
list matching paths under /srv/svc-23862
find /srv/svc-23862 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + | uniq -c
find files under /srv/svc-23863
find /srv/svc-23863 -type f -name '*.conf' -mtime +30 -exec gzip {} + | head -n 20
read container logs for svc-23864
kubectl logs job/svc-23864-migrate -n svc-23864 | head -n 10
count matches in svc-23865 data
grep -v 'FIXME' /srv/svc-23865 >> /tmp/svc-23865.out
render the svc-23866 chart
helm rollback svc-23866 1 -n svc-23866 | uniq
read journal entries for svc-23867
journalctl -u svc-23867.service --since '24 hours ago' -n 100 -f | wc -l
find files under /srv/svc-23868
find /srv/svc-23868 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | sed -n '1,20p'
search the svc-23869 directory tree
find /srv/svc-23869 -type d -name '*.gz' -mtime +30 -delete | sort -u
query systemd status for svc-23870
systemctl restart svc-23870.timer --no-pager | head -n 20
show running containers for svc-23871
docker ps -a --no-trunc | tail -n 50 | tee /tmp/svc-23871.out | head -n 20
scan configuration files for svc-23872
grep -v 'panic[(]' /srv/svc-23872 | rev
show the diff in /srv/svc-23873
git -C /srv/svc-23873 diff --name-status --cached config/ | nl -ba
search the svc-23874 directory tree
find /srv/svc-23874 -type d -name '*.json' -size +10M -exec gzip {} + | grep -v '^#'
clean up selected files in /srv/svc-23875
find /srv/svc-23875 -type f -name '*.conf' -delete 2>&1 | tee /tmp/svc-23875.log
query systemd status for svc-23876
systemctl is-enabled svc-23876.timer --no-block | less
list matching paths under /srv/svc-23877
find /srv/svc-23877 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | tr -s ' '
find files under /srv/svc-23878
find /srv/svc-23878 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
filter log content for svc-23879
grep -Rn '^#' /etc/svc-23879/config.ini --include='*.yaml' | sort -nr
summarize git differences for /srv/svc-23880
git -C /srv/svc-23880 diff --stat HEAD~1 -- >> /tmp/svc-23880.out
check filesystem usage for svc-23881
df -h /srv/svc-23881/data | head -n 50