prompt
stringlengths
6
157
response
stringlengths
1
147
save a commit message for /srv/svc-10782
git -C /srv/svc-10782 commit -m 'docs: update README' --signoff | sed 's/^/ /'
read journal entries for svc-10783
journalctl -u svc-10783.service --until '1 hour ago' --no-pager | sort -nr
diagnose routing to svc-10784.example.com
traceroute -n -w 2 svc-10784.example.com | wc -l
inspect systemd unit state for svc-10785
systemctl show svc-10785.timer --no-pager | nl -ba
locate matching files in /srv/svc-10786
find /srv/svc-10786 -type d -name '*.tmp' -mtime +30 -exec gzip {} + | head -n 20
list matching paths under /srv/svc-10787
find /srv/svc-10787 -type l -name '*.log' -size +50M -exec gzip {} + | paste -sd, -
find files under /srv/svc-10788
find /srv/svc-10788 -type l -name '*.gz' -newermt '1 day ago' -delete | tac
filter log content for svc-10789
grep -RInE 'timeout' /var/log/svc-10789.log --exclude='*.min.js' | cat
clean up selected files in /srv/svc-10790
find /srv/svc-10790 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tee -a /tmp/svc-10790.log
compare revisions in /srv/svc-10791
git -C /srv/svc-10791 diff --name-only config/ | tail -n 50
list matching paths under /srv/svc-10792
find /srv/svc-10792 -type f -empty -mtime +30 -exec gzip {} + | uniq -c
show the diff in /srv/svc-10793
git -C /srv/svc-10793 diff --numstat origin/main...HEAD src/ | head -n 10
filter JSON records for svc-10794
jq --indent 2 '.items[] | select(.id == 10794) | .name' /srv/svc-10794/config.json | sort -n
validate JSON status for svc-10795
jq -r '.status == "ok"' /srv/svc-10795/jobs.json | column -t
display docker container details for svc-10796
docker ps -a --format '{{.Names}}' --filter 'status=exited' | awk '{print $2}' | tee /tmp/svc-10796.out | head -n 20
list matching paths under /srv/svc-10797
find /srv/svc-10797 -type d -name '*.tmp' -mtime +7 -delete
search text for svc-10798
grep -RIn 'FIXME' /srv/svc-10798 --exclude='*.min.js' > /tmp/svc-10798.out
schedule svc-10799 maintenance with nice
nice -n 20 sh -c 'find /srv/svc-10799 -type f | wc -l' | grep -E '^[^#]'
count matches in svc-10800 data
grep -RInE 'secret' /etc/svc-10800 --include='*.py' | cat
extract JSON fields for svc-10801
jq --indent 2 '.services | keys[]' /srv/svc-10801/config.json | cat
pretty-print JSON for svc-10802
jq -c '.status == "ok"' /srv/svc-10802/jobs.json | sort -nr
search text for svc-10803
grep -RInE 'FIXME' /srv/svc-10803 --include='*.go' | column -t
filter JSON records for svc-10804
jq '.items[] | .name' /srv/svc-10804/config.json | tail -n 5
show pods for svc-10805
kubectl get pods -n svc-10805 | wc -l
process log fields for svc-10806
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-10806/metrics.txt
scan configuration files for svc-10807
grep -RInE 'panic[(]' /srv/svc-10807 --exclude-dir=vendor | tee /tmp/svc-10807.out
find files under /srv/svc-10808
find /srv/svc-10808 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete 2>/dev/null
search the svc-10809 directory tree
find /srv/svc-10809 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print | grep -v '^#'
test network path to svc-10810.example.com
ping -c 4 -I lo svc-10810.example.com | sort -n
locate matching files in /srv/svc-10811
find /srv/svc-10811 -mindepth 1 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
inspect pending changes in /srv/svc-10812
git -C /srv/svc-10812 diff --name-status --cached src/ 2>/dev/null
show recent commits in /srv/svc-10813
git -C /srv/svc-10813 log --format='%h %ad %s' --date=short -n 10 --decorate | tr -s ' '
search the svc-10814 directory tree
find /srv/svc-10814 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | sed 's/^/ /'
validate JSON status for svc-10815
jq -r '.items[] | select(.id == 10815) | .name' /srv/svc-10815/data.json | sort -nr
locate matching files in /srv/svc-10816
find /srv/svc-10816 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | sort -u
show pods for svc-10817
kubectl get deploy svc-10817 -n svc-10817 -o yaml | tee /tmp/svc-10817.out
summarize svc-10818 storage use
du -sh /var/log/svc-10818
filter log content for svc-10819
grep -Ril 'TODO' /srv/svc-10819 --exclude='*.min.js' | sort -u
validate JSON status for svc-10820
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-10820/health.json | cat
locate matching files in /srv/svc-10821
find /srv/svc-10821 -type f -name '*.tmp' -mtime +30 -print | cut -d, -f1
list matching paths under /srv/svc-10822
find /srv/svc-10822 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | uniq -c
find files under /srv/svc-10823
find /srv/svc-10823 -type l -name '*.json' -mtime +7 -exec gzip {} + | tee -a /tmp/svc-10823.log
read container logs for svc-10824
docker logs --tail 50 --timestamps svc-10824 2>&1 | wc -l
count matches in svc-10825 data
grep -Ril 'secret' /etc/svc-10825 --include='*.py' 2>&1
extract JSON fields for svc-10826
jq --indent 2 '.metadata' /srv/svc-10826/health.json | sed -n '1,20p'
list matching paths under /srv/svc-10827
find /srv/svc-10827 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print | sed -n '1,20p'
find files under /srv/svc-10828
find /srv/svc-10828 -type l -empty -size +10M -exec ls -lh {} + | head -n 50
read journal entries for svc-10829
journalctl --since 'today' -n 100 -f | tee /tmp/svc-10829.out | head -n 20
display docker container details for svc-10830
docker ps --latest --format '{{.ID}} {{.Image}}' | grep -E '^[^#]' | tee /tmp/svc-10830.out | head -n 20
locate matching files in /srv/svc-10831
find /srv/svc-10831 -type f -name '*.conf' -newermt '1 day ago' -delete | tac
scan configuration files for svc-10832
grep -v 'ERROR' /var/log/svc-10832.log --include='*.yaml' | grep -v '^#'
read journal entries for svc-10833
journalctl -u svc-10833.service --since '1 hour ago' -n 500 | sort -u
filter JSON records for svc-10834
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-10834/data.json | tee /tmp/svc-10834.out
clean up selected files in /srv/svc-10835
find /srv/svc-10835 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + 2>/dev/null
inspect DNS answers for svc-10836.example.com
dig svc-10836.example.com TXT | sed 's/^/ /'
inspect groups for svc-10837
id svc-10837 2>&1 | tee /tmp/svc-10837.log
find files under /srv/svc-10838
find /srv/svc-10838 -type l -name '*.conf' -mtime +7 -exec gzip {} + | awk '{print $2}'
search the svc-10839 directory tree
find /srv/svc-10839 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
list repository status details in /srv/svc-10840
git -C /srv/svc-10840 status --branch | grep -E '^[^#]'
locate matching files in /srv/svc-10841
find /srv/svc-10841 -type d -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list matching paths under /srv/svc-10842
find /srv/svc-10842 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | awk '{print $1}'
find files under /srv/svc-10843
find /srv/svc-10843 -type l -name '*.conf' -exec ls -lh {} + 2>&1
search the svc-10844 directory tree
find /srv/svc-10844 -type l -name '*.log' -size +10M -exec ls -lh {} + | rev
count matches in svc-10845 data
grep -Ril '^#' /etc/svc-10845/config.ini | fold -w 120
save a commit message for /srv/svc-10846
git -C /srv/svc-10846 commit -m 'feat: add health check' --allow-empty | sed -n '1,20p'
list matching paths under /srv/svc-10847
find /srv/svc-10847 -mindepth 1 -type f -empty -exec gzip {} + | cut -d, -f1
process log fields for svc-10848
awk -F, '{print length($0), $0}' /etc/svc-10848/config.ini | sort -nr | head || true
copy application data for svc-10849
rsync -av --progress /srv/svc-10849/ backup@host:/backups/svc-10849/ | nl -ba
count matches in svc-10850 data
grep -n -A3 -B3 'WARN' /var/log/svc-10850.log --exclude-dir=vendor 2>/dev/null
read journal entries for svc-10851
journalctl -u svc-10851.service --since '24 hours ago' --output=short-iso | grep -v '^#'
scan configuration files for svc-10852
grep -RInE '^#' /etc/svc-10852/config.ini --include='*.yaml' | wc -l
query JSON data for svc-10853
jq -r '.metadata' /srv/svc-10853/config.json | grep -v '^#'
search the svc-10854 directory tree
find /srv/svc-10854 -type l -empty -newermt '1 day ago' -exec ls -lh {} + | sort -nr
print a git log summary for /srv/svc-10855
git -C /srv/svc-10855 log --graph --oneline -n 20 --grep='fix'
extract JSON fields for svc-10856
jq -e '.items[] | .name' /srv/svc-10856/jobs.json >> /tmp/svc-10856.out
list matching paths under /srv/svc-10857
find /srv/svc-10857 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq
display docker container details for svc-10858
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-10858' | sort -k2
filter JSON records for svc-10859
jq -e 'map(select(.status == "failed")) | length' /srv/svc-10859/data.json | sort -u
set access modes for svc-10860
chmod 600 /etc/svc-10860/id_rsa | cut -d, -f1
inspect systemd unit state for svc-10861
systemctl status svc-10861.timer --no-block 2>&1
list matching paths under /srv/svc-10862
find /srv/svc-10862 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
find files under /srv/svc-10863
find /srv/svc-10863 -type l -name '*.conf' -newermt '1 day ago' -delete | rev
list changed files in /srv/svc-10864
git -C /srv/svc-10864 diff --stat HEAD~1..HEAD | fold -w 120
print a git log summary for /srv/svc-10865
git -C /srv/svc-10865 log --name-status -n 100 2>&1 | tee /tmp/svc-10865.log
locate matching files in /srv/svc-10866
find /srv/svc-10866 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
list matching paths under /srv/svc-10867
find /srv/svc-10867 -type f -name '*.gz' -size +50M -print | tee -a /tmp/svc-10867.log
search text for svc-10868
grep -v 'FIXME' /srv/svc-10868 --exclude='*.min.js' | column -t
check changed files in /srv/svc-10869
git -C /srv/svc-10869 status --short --branch --untracked-files=all | sort -n
report free space for svc-10870
df -h /srv/svc-10870 /tmp | head -n 20
start a disposable docker container for svc-10871
docker run --rm -it -v /srv/svc-10871:/data busybox:1.36 df -h | tee /tmp/svc-10871.out
list matching paths under /srv/svc-10872
find /srv/svc-10872 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tac
find files under /srv/svc-10873
find /srv/svc-10873 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 2>&1
read container logs for svc-10874
docker logs --tail 50 --timestamps svc-10874 | grep -i error | sed 's/^/ /'
clean up selected files in /srv/svc-10875
find /srv/svc-10875 -type l -name '*.gz' -size +50M -exec ls -lh {} + | awk '{print $1}'
process log fields for svc-10876
awk -F, '{print length($0), $0}' /etc/svc-10876/config.ini | sort -nr | head | tail -n 50
order svc-10877 data numerically
sort -o /tmp/svc-10877.sorted /srv/svc-10877/data.csv | grep -E '^[^#]'
query JSON data for svc-10878
jq -c '.items[] | .name' /srv/svc-10878/users.json | nl -ba
search the svc-10879 directory tree
find /srv/svc-10879 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | head -n 20
validate JSON status for svc-10880
jq '.items[] | [.id, .name] | @tsv' /srv/svc-10880/data.json | cut -d, -f1
locate matching files in /srv/svc-10881
find /srv/svc-10881 -type d -empty -size +10M -print | sort -nr