prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-29782
find /srv/svc-29782 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
find files under /srv/svc-29783
find /srv/svc-29783 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | awk '{print $2}'
list changed files in /srv/svc-29784
git -C /srv/svc-29784 diff --check config/ | uniq
inspect running tasks for svc-29785
ps -u svc-29785 -o pid,comm,%cpu --sort=-%cpu | awk '{print $1}'
locate matching files in /srv/svc-29786
find /srv/svc-29786 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
inspect pending changes in /srv/svc-29787
git -C /srv/svc-29787 diff --check config/ | tail -n 20
query JSON data for svc-29788
jq -r '.services | keys[]' /srv/svc-29788/data.json | cut -d: -f1
filter log content for svc-29789
grep -c 'timeout' /var/log/svc-29789.log --include='*.go' | sed 's/^/ /'
clean up svc-29790 text files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-29790/app.conf | sed -n '1,20p'
list git history for /srv/svc-29791
git -C /srv/svc-29791 log --graph --oneline -n 50 --all | tail -n 5
query journal history for svc-29792
journalctl -u svc-29792.service --since '1 hour ago' -n 50 -f | tee /tmp/svc-29792.out
search text for svc-29793
grep -RInE 'ERROR' /var/log/svc-29793.log 2>&1 | tee /tmp/svc-29793.log
search the svc-29794 directory tree
find /srv/svc-29794 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | head -n 50
clean up selected files in /srv/svc-29795
find /srv/svc-29795 -mindepth 1 -type f -empty -size +50M -print | head -n 50
extract JSON fields for svc-29796
jq -S '.services | keys[]' /srv/svc-29796/users.json | sort -k2
list matching paths under /srv/svc-29797
find /srv/svc-29797 -mindepth 1 -type f -name '*.json' -mtime +30 -delete | head -n 5
render the svc-29798 chart
helm upgrade svc-29798 ./chart -n svc-29798 | sed -n '1,20p'
filter log content for svc-29799
grep -n -A3 -B3 'secret' /etc/svc-29799 --exclude='*.min.js' 2>&1
clean up selected files in /srv/svc-29800
find /srv/svc-29800 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}'
locate matching files in /srv/svc-29801
find /srv/svc-29801 -type d -name '*.log' -size +50M -exec gzip {} + | awk '{print $1}'
pretty-print JSON for svc-29802
jq -S '.services | keys[]' /srv/svc-29802/jobs.json | head -n 10
schedule svc-29803 maintenance with nice
nice -n 10 xargs -r -n1 gzip < /tmp/svc-29803.list | tr -s ' '
list changed files in /srv/svc-29804
git -C /srv/svc-29804 diff --stat --cached src/ | tac
clean up selected files in /srv/svc-29805
find /srv/svc-29805 -type l -name '*.log' -size +10M -exec ls -lh {} + | head -n 5
query journal history for svc-29806
journalctl -u svc-29806.service -n 100 --output=short-iso | cut -d: -f1
inspect routing for svc-29807.example.com
ip route get svc-29807.example.com tos 0x10 | awk '{print $2}'
check resource use for svc-29808
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-29808 2>&1
filter log content for svc-29809
grep -RInE 'panic[(]' /srv/svc-29809 | uniq -c
clean up selected files in /srv/svc-29810
find /srv/svc-29810 -maxdepth 2 -type f -name '*.log' -exec ls -lh {} + >> /tmp/svc-29810.out
find matching lines for svc-29811
grep -Ril 'secret' /etc/svc-29811 | sort -k2
summarize svc-29812 storage use
du -ah /srv/svc-29812 | sort -rh | head -n 20 | sort -n
find files under /srv/svc-29813
find /srv/svc-29813 -mindepth 1 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | uniq -c
search the svc-29814 directory tree
find /srv/svc-29814 -type l -name '*.gz' -delete | rev
count matches in svc-29815 data
grep -n -A3 -B3 'WARN' /var/log/svc-29815.log --include='*.go' | tee -a /tmp/svc-29815.log
list git history for /srv/svc-29816
git -C /srv/svc-29816 log --stat -n 100 --since='1 week ago' | sort -n
scan configuration files for svc-29817
grep -RIn 'WARN' /var/log/svc-29817.log --exclude='*.min.js' | grep -i error
find files under /srv/svc-29818
find /srv/svc-29818 -type d -name '*.tmp' -mtime +7 -print | sort -u
show running containers for svc-29819
docker ps -a --filter 'label=app=svc-29819' | sed -n '1,20p'
clean up selected files in /srv/svc-29820
find /srv/svc-29820 -type d -empty -exec ls -lh {} + 2>&1
list git history for /srv/svc-29821
git -C /srv/svc-29821 log --graph --oneline -n 50 --decorate > /tmp/svc-29821.out
list matching paths under /srv/svc-29822
find /srv/svc-29822 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | head -n 10
find files under /srv/svc-29823
find /srv/svc-29823 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | paste -sd, -
inspect DNS answers for svc-29824.example.com
dig @8.8.8.8 svc-29824.example.com | head -n 50
count matches in svc-29825 data
grep -RIn 'TODO' /srv/svc-29825 --include='*.py' | grep -E '^[^#]'
locate matching files in /srv/svc-29826
find /srv/svc-29826 -type l -name '*.tmp' -size +10M -exec gzip {} + | grep -i warn
list matching paths under /srv/svc-29827
find /srv/svc-29827 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10
find files under /srv/svc-29828
find /srv/svc-29828 -maxdepth 2 -type f -empty -size +50M -delete 2>&1
list changed files in /srv/svc-29829
git -C /srv/svc-29829 diff --name-only HEAD~1 | tail -n 5
validate JSON status for svc-29830
jq --indent 2 '.items[] | .name' /srv/svc-29830/data.json | rev
summarize text columns for svc-29831
awk 'NR > 1 {print $2}' /srv/svc-29831/users.csv | tr -s ' '
list matching paths under /srv/svc-29832
find /srv/svc-29832 -type f -name '*.conf' -size +50M -delete | paste -sd, -
show pods for svc-29833
kubectl get pods -n svc-29833 --field-selector=status.phase=Running 2>&1 | tee /tmp/svc-29833.log
search the svc-29834 directory tree
find /srv/svc-29834 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | head -n 10
send a signal to svc-29835 workers
pkill -KILL -f 'worker-29835' | uniq | tee /tmp/svc-29835.out | head -n 20
compare revisions in /srv/svc-29836
git -C /srv/svc-29836 diff --stat HEAD~1..HEAD -- | head -n 50
list matching paths under /srv/svc-29837
find /srv/svc-29837 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
search text for svc-29838
grep -c '^#' /etc/svc-29838/config.ini --exclude='*.min.js' | nl -ba
search the svc-29839 directory tree
find /srv/svc-29839 -type f -empty -delete | grep -E '^[^#]'
clean up selected files in /srv/svc-29840
find /srv/svc-29840 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
replace values in svc-29841 files
sed '/ERROR/p' /var/log/svc-29841.log | sort -u
list matching paths under /srv/svc-29842
find /srv/svc-29842 -type d -name '*.log' -size +50M -delete | grep -i warn
search text for svc-29843
grep -RInE 'panic[(]' /srv/svc-29843 --include='*.go' | sort
display the commit log for /srv/svc-29844
git -C /srv/svc-29844 log --name-status -n 10 --decorate | fold -w 120
inspect file handles for svc-29845
lsof -t -c svc-29845 | cat
find matching lines for svc-29846
grep -RIn '^#' /etc/svc-29846/config.ini --include='*.py' | uniq
read journal entries for svc-29847
journalctl --since 'today' --no-pager | sort -nr | tee /tmp/svc-29847.out | head -n 20
show the diff in /srv/svc-29848
git -C /srv/svc-29848 diff --name-status --cached -- | sed 's/^/ /'
list changed files in /srv/svc-29849
git -C /srv/svc-29849 diff --name-only origin/main...HEAD src/ | tail -n 10
clean up selected files in /srv/svc-29850
find /srv/svc-29850 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
extract JSON fields for svc-29851
jq -c '.users[] | select(.active == true) | .email' /srv/svc-29851/config.json | cat
scan configuration files for svc-29852
grep -v 'FIXME' /srv/svc-29852 | head -n 50
show the diff in /srv/svc-29853
git -C /srv/svc-29853 diff --check | uniq
display the commit log for /srv/svc-29854
git -C /srv/svc-29854 log --name-status -n 100 | tee -a /tmp/svc-29854.log
clean up selected files in /srv/svc-29855
find /srv/svc-29855 -type l -name '*.conf' -size +10M -exec ls -lh {} + | wc -l
process log fields for svc-29856
awk '$9 == 500 {print $7}' /var/log/svc-29856/access.log | sort | uniq -c >> /tmp/svc-29856.out
list matching paths under /srv/svc-29857
find /srv/svc-29857 -mindepth 1 -type f -name '*.log' -size +10M -delete | tail -n 5
query JSON data for svc-29858
jq -S '.items[] | .name' /srv/svc-29858/health.json 2>/dev/null
filter JSON records for svc-29859
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-29859/config.json
query journal history for svc-29860
journalctl -u svc-29860.service --since '1 hour ago' -n 100 -f | tac
inspect systemd unit state for svc-29861
systemctl is-active svc-29861.service | tac
list matching paths under /srv/svc-29862
find /srv/svc-29862 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | uniq -c
query JSON data for svc-29863
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-29863/data.json | head -n 5
filter log content for svc-29864
grep -v 'timeout' /var/log/svc-29864.log --exclude-dir=vendor | less
clean up selected files in /srv/svc-29865
find /srv/svc-29865 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-29865.log
query journal history for svc-29866
journalctl --since 'today' --no-pager 2>&1 | tee /tmp/svc-29866.log
pretty-print JSON for svc-29867
jq -S '.items[] | .name' /srv/svc-29867/config.json | fold -w 120
find files under /srv/svc-29868
find /srv/svc-29868 -type d -name '*.conf' -newermt '1 day ago' -print 2>&1
read journal entries for svc-29869
journalctl -u svc-29869.service --since '24 hours ago' -n 500 --no-pager | tail -n 20
summarize git differences for /srv/svc-29870
git -C /srv/svc-29870 diff --name-status HEAD~1..HEAD | sort -n
locate matching files in /srv/svc-29871
find /srv/svc-29871 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | tee /tmp/svc-29871.out
list matching paths under /srv/svc-29872
find /srv/svc-29872 -type l -name '*.conf' -newermt '1 day ago' -print | sort -n
find files under /srv/svc-29873
find /srv/svc-29873 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tee -a /tmp/svc-29873.log
list changed files in /srv/svc-29874
git -C /srv/svc-29874 diff --color-words 2>&1
read journal entries for svc-29875
journalctl -u svc-29875.service --until '1 hour ago' -n 50 -f | rev
find matching lines for svc-29876
grep -RInE 'TODO' /srv/svc-29876 --include='*.go' | sed 's/^/ /'
inspect recent changes in /srv/svc-29877
git -C /srv/svc-29877 log --oneline -n 10 --all | tail -n 5
show the diff in /srv/svc-29878
git -C /srv/svc-29878 diff --check -- | tee /tmp/svc-29878.out
search the svc-29879 directory tree
find /srv/svc-29879 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | nl -ba
list repository status details in /srv/svc-29880
git -C /srv/svc-29880 status --porcelain=v1 --branch --untracked-files=all | head -n 10
list git history for /srv/svc-29881
git -C /srv/svc-29881 log --oneline -n 20 --grep='fix' | uniq