prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-18782
grep -RIn '^#' /etc/svc-18782/config.ini --include='*.yaml' | tee -a /tmp/svc-18782.log
find files under /srv/svc-18783
find /srv/svc-18783 -type d -name '*.json' -delete > /tmp/svc-18783.out
query systemd status for svc-18784
systemctl enable --now svc-18784.timer | head -n 5
count matches in svc-18785 data
grep -Ril 'secret' /etc/svc-18785 --include='*.go' | wc -l
locate matching files in /srv/svc-18786
find /srv/svc-18786 -type l -name '*.tmp' -exec ls -lh {} + | sort -u
pretty-print JSON for svc-18787
jq -e '.items[] | .name' /srv/svc-18787/health.json | less
show recent commits in /srv/svc-18788
git -C /srv/svc-18788 log --stat -n 10 | tr -s ' '
display the commit log for /srv/svc-18789
git -C /srv/svc-18789 log --oneline -n 50 --all | grep -v '^#'
validate JSON status for svc-18790
jq 'map(select(.status == "failed")) | length' /srv/svc-18790/users.json | wc -l
compare revisions in /srv/svc-18791
git -C /srv/svc-18791 diff --name-only HEAD~1 config/ | cut -d: -f1
list matching paths under /srv/svc-18792
find /srv/svc-18792 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
find files under /srv/svc-18793
find /srv/svc-18793 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + 2>/dev/null
filter log content for svc-18794
grep -Rn 'ERROR' /var/log/svc-18794.log --exclude-dir=vendor | nl -ba
clean up selected files in /srv/svc-18795
find /srv/svc-18795 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | head -n 50
compare revisions in /srv/svc-18796
git -C /srv/svc-18796 diff --numstat HEAD~1 config/ | tail -n 10
display recent container output for svc-18797
docker logs --since '1h' svc-18797 | grep -i error 2>/dev/null
query systemd status for svc-18798
systemctl enable --now svc-18798.service --no-pager || true
show running containers for svc-18799
docker ps -a --filter 'status=exited' | head -n 50 | tee /tmp/svc-18799.out | head -n 20
clean up selected files in /srv/svc-18800
find /srv/svc-18800 -type f -name '*.tmp' -newermt '1 day ago' -print | sort
list scheduled jobs for svc-18801
crontab -l | grep svc-18801 | wc -l | cat
scan configuration files for svc-18802
grep -Rn 'TODO' /srv/svc-18802 --include='*.py' | head -n 20
query JSON data for svc-18803
jq -r 'map(select(.status == "failed")) | length' /srv/svc-18803/health.json | cat
check changed files in /srv/svc-18804
git -C /srv/svc-18804 status --porcelain=v2 --branch --untracked-files=normal 2>&1 | tee /tmp/svc-18804.log
clean up selected files in /srv/svc-18805
find /srv/svc-18805 -type f -name '*.tmp' -size +10M -print | head -n 50
locate matching files in /srv/svc-18806
find /srv/svc-18806 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
pretty-print JSON for svc-18807
jq -S '.services | keys[]' /srv/svc-18807/users.json | rev
save a commit message for /srv/svc-18808
git -C /srv/svc-18808 commit --amend --no-edit | sort
start a disposable docker container for svc-18809
docker run --rm -it -v /srv/svc-18809:/data alpine:3.20 sh -c 'cat /etc/os-release' 2>&1
clean up selected files in /srv/svc-18810
find /srv/svc-18810 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | rev
locate matching files in /srv/svc-18811
find /srv/svc-18811 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete | head -n 10
query journal history for svc-18812
journalctl -u svc-18812.service --until '1 hour ago' --no-pager | sort -u
find files under /srv/svc-18813
find /srv/svc-18813 -type d -name '*.json' -size +10M -exec ls -lh {} + 2>&1
list changed files in /srv/svc-18814
git -C /srv/svc-18814 diff --name-status origin/main...HEAD config/ | tail -n 10
start a disposable docker container for svc-18815
docker run --rm -v /srv/svc-18815/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | sort -n
extract JSON fields for svc-18816
jq -c '.users[] | select(.active == true) | .email' /srv/svc-18816/users.json | grep -i error
list matching paths under /srv/svc-18817
find /srv/svc-18817 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | awk '{print $1}'
query journal history for svc-18818
journalctl -u svc-18818.service --since '1 hour ago' -n 50 | awk '{print $2}'
check reachability of svc-18819.example.com
ping -c 4 -n svc-18819.example.com >> /tmp/svc-18819.out
list repository status details in /srv/svc-18820
git -C /srv/svc-18820 status --short --ignored --untracked-files=all | grep -i error
list git history for /srv/svc-18821
git -C /srv/svc-18821 log --stat -n 20 --since='1 week ago' | cut -d: -f1
inspect pending changes in /srv/svc-18822
git -C /srv/svc-18822 diff --numstat origin/main...HEAD config/
find files under /srv/svc-18823
find /srv/svc-18823 -type f -name '*.tmp' -mtime +7 -print | grep -v '^#'
search the svc-18824 directory tree
find /srv/svc-18824 -type d -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
show running containers for svc-18825
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' | sort -nr | tee /tmp/svc-18825.out | head -n 20
locate matching files in /srv/svc-18826
find /srv/svc-18826 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
inspect running tasks for svc-18827
ps aux | grep svc-18827 | fold -w 120
display docker container details for svc-18828
docker ps -a --no-trunc --format '{{.Names}}' | sed -n '1,20p' | tee /tmp/svc-18828.out | head -n 20
search the svc-18829 directory tree
find /srv/svc-18829 -type l -name '*.gz' -size +10M -exec gzip {} + | sed -n '1,20p'
clean up selected files in /srv/svc-18830
find /srv/svc-18830 -mindepth 1 -type f -name '*.gz' -size +50M -print | tee /tmp/svc-18830.out
locate matching files in /srv/svc-18831
find /srv/svc-18831 -type d -empty -exec ls -lh {} + || true
query journal history for svc-18832
journalctl --since '1 hour ago' -u svc-18832.service -n 100 -f | sed 's/^/ /'
summarize text columns for svc-18833
awk '{print $1}' /etc/passwd | cut -d: -f1 | tee /tmp/svc-18833.out | head -n 20
display the commit log for /srv/svc-18834
git -C /srv/svc-18834 log --stat -n 100 --grep='fix' 2>/dev/null
inspect systemd unit state for svc-18835
systemctl stop svc-18835.service | tac
find duplicate values for svc-18836
uniq -u /var/log/svc-18836.log | grep -i error
send a signal to svc-18837 workers
pkill -KILL -f 'worker-18837' | tail -n 10 | tee /tmp/svc-18837.out | head -n 20
query journal history for svc-18838
journalctl -u svc-18838.service --until '1 hour ago' -n 50 -f 2>/dev/null
display the commit log for /srv/svc-18839
git -C /srv/svc-18839 log --name-status -n 20 --author='deploy' | sed 's/^/ /'
display docker container details for svc-18840
docker ps -aq --filter 'status=exited' | tail -n 5 | tee /tmp/svc-18840.out | head -n 20
extract JSON fields for svc-18841
jq -S '.services | keys[]' /srv/svc-18841/health.json >> /tmp/svc-18841.out
list matching paths under /srv/svc-18842
find /srv/svc-18842 -mindepth 1 -type f -name '*.log' -exec gzip {} + || true
find files under /srv/svc-18843
find /srv/svc-18843 -type d -name '*.json' -size +50M -delete | grep -i warn
query journal history for svc-18844
journalctl --since 'today' -n 500 --no-pager | sort -u | tee /tmp/svc-18844.out | head -n 20
clean up selected files in /srv/svc-18845
find /srv/svc-18845 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | sort
locate matching files in /srv/svc-18846
find /srv/svc-18846 -type d -name '*.json' -exec ls -lh {} + | grep -i warn
inspect systemd unit state for svc-18847
systemctl restart svc-18847.service --no-block | column -t
find files under /srv/svc-18848
find /srv/svc-18848 -type l -name '*.conf' -size +10M -exec ls -lh {} + 2>&1
filter JSON records for svc-18849
jq -r '.metadata' /srv/svc-18849/jobs.json | sed 's/^/ /'
validate JSON status for svc-18850
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-18850/data.json | tail -n 20
locate matching files in /srv/svc-18851
find /srv/svc-18851 -type d -empty -mtime +7 -exec ls -lh {} + | uniq -c
inspect recent changes in /srv/svc-18852
git -C /srv/svc-18852 log --stat -n 50 --all
find files under /srv/svc-18853
find /srv/svc-18853 -type l -name '*.log' -size +50M -exec ls -lh {} + | grep -i warn
diagnose routing to svc-18854.example.com
traceroute -n -4 svc-18854.example.com | head -n 50
validate JSON status for svc-18855
jq -r '.users[] | select(.active == true) | .email' /srv/svc-18855/jobs.json
read container logs for svc-18856
docker logs --since '24h' svc-18856 | grep -i error | paste -sd, -
pretty-print JSON for svc-18857
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-18857/jobs.json | sort
query journal history for svc-18858
journalctl --since 'today' --no-pager | grep -i warn | tee /tmp/svc-18858.out | head -n 20
inspect file handles for svc-18859
lsof -u svc-18859 | sort -k2
print a git log summary for /srv/svc-18860
git -C /srv/svc-18860 log --graph --oneline -n 50 --grep='fix' | cut -d, -f1
locate matching files in /srv/svc-18861
find /srv/svc-18861 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-18861.log
list matching paths under /srv/svc-18862
find /srv/svc-18862 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
create a backup tarball for svc-18863
tar --exclude='node_modules' -czf /backup/svc-18863.tar.gz /srv/svc-18863 | sed 's/^/ /'
display docker container details for svc-18864
docker ps -aq --format '{{.Names}}' --filter 'status=running' | tail -n 20 | tee /tmp/svc-18864.out | head -n 20
count matches in svc-18865 data
grep -Ril 'secret' /etc/svc-18865 --include='*.yaml' | column -t
compare revisions in /srv/svc-18866
git -C /srv/svc-18866 diff --name-status origin/main...HEAD | uniq
list matching paths under /srv/svc-18867
find /srv/svc-18867 -type l -empty -mtime +30 -exec ls -lh {} + | less
query JSON data for svc-18868
jq 'map(select(.status == "failed")) | length' /srv/svc-18868/config.json | uniq -c
search the svc-18869 directory tree
find /srv/svc-18869 -type l -name '*.gz' -size +50M -delete | sort -u
render the svc-18870 chart
helm uninstall svc-18870 -n svc-18870 2>&1 | tee /tmp/svc-18870.log
compare revisions in /srv/svc-18871
git -C /srv/svc-18871 diff --color-words HEAD~2..HEAD -- | sort
list matching paths under /srv/svc-18872
find /srv/svc-18872 -type l -name '*.gz' -mtime +7 -exec ls -lh {} + 2>&1 | tee /tmp/svc-18872.log
find files under /srv/svc-18873
find /srv/svc-18873 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | grep -E '^[^#]'
query journal history for svc-18874
journalctl -u svc-18874.service --since '1 hour ago' -n 50 --output=short-iso | sort
clean up selected files in /srv/svc-18875
find /srv/svc-18875 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + >> /tmp/svc-18875.out
summarize svc-18876 storage use
du -sh /srv/svc-18876/logs | sed -n '1,20p'
pretty-print JSON for svc-18877
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-18877/config.json | tail -n 5
query journal history for svc-18878
journalctl -u svc-18878.service --until '1 hour ago' >> /tmp/svc-18878.out
filter JSON records for svc-18879
jq --indent 2 '.services | keys[]' /srv/svc-18879/data.json | awk '{print $1}'
clean up selected files in /srv/svc-18880
find /srv/svc-18880 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | grep -i error
locate matching files in /srv/svc-18881
find /srv/svc-18881 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | grep -i error