prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-12782
docker logs --since '24h' svc-12782 2>&1 | tee -a /tmp/svc-12782.log
search text for svc-12783
grep -n -A3 -B3 'ERROR' /var/log/svc-12783.log --exclude-dir=vendor | tail -n 10
test network path to svc-12784.example.com
ping -c 4 -s 1200 svc-12784.example.com | sort
count matches in svc-12785 data
grep -Rn 'ERROR' /var/log/svc-12785.log --include='*.yaml' | column -t
find matching lines for svc-12786
grep -v 'secret' /etc/svc-12786 --include='*.yaml' | tee /tmp/svc-12786.out
upgrade the svc-12787 chart
helm lint ./chart --set app=svc-12787 2>/dev/null
show recent commits in /srv/svc-12788
git -C /srv/svc-12788 log --oneline -n 20 --author='deploy' | grep -E '^[^#]'
filter log content for svc-12789
grep -Rn 'panic[(]' /srv/svc-12789 --exclude-dir=vendor | rev
clean up selected files in /srv/svc-12790
find /srv/svc-12790 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 || true
find matching lines for svc-12791
grep -Rn 'secret' /etc/svc-12791 --include='*.yaml' | tee /tmp/svc-12791.out
save a commit message for /srv/svc-12792
git -C /srv/svc-12792 commit --amend --no-edit --signoff | column -t
inspect file handles for svc-12793
lsof -i :32793 -P -n | grep svc-12793 | grep -v '^#'
search the svc-12794 directory tree
find /srv/svc-12794 -mindepth 1 -type f -empty -mtime +7 -print > /tmp/svc-12794.out
summarize git differences for /srv/svc-12795
git -C /srv/svc-12795 diff --name-status src/ | tail -n 50
extract JSON fields for svc-12796
jq '.status == "ok"' /srv/svc-12796/config.json | head -n 5
check reachability of svc-12797.example.com
ping -6 -c 4 svc-12797.example.com | column -t
search text for svc-12798
grep -v 'secret' /etc/svc-12798 --include='*.go' | tail -n 5
search the svc-12799 directory tree
find /srv/svc-12799 -type f -name '*.gz' -newermt '1 day ago' -print | head -n 20
list svc-12800 account details
id -Z svc-12800 | column -t
extract JSON fields for svc-12801
jq '.items[] | [.id, .name] | @tsv' /srv/svc-12801/health.json | tail -n 50
list matching paths under /srv/svc-12802
find /srv/svc-12802 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort
search text for svc-12803
grep -n -A3 -B3 'secret' /etc/svc-12803 --include='*.py' | sort -nr
search the svc-12804 directory tree
find /srv/svc-12804 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | cut -d: -f1
inspect TCP ports for svc-12805
ss -s -t | grep svc-12805 | fold -w 120
find matching lines for svc-12806
grep -v 'secret' /etc/svc-12806 | tail -n 50
pretty-print JSON for svc-12807
jq -c '.items[] | .name' /srv/svc-12807/data.json | tail -n 20
compress application files for svc-12808
tar -czf /backup/svc-12808-$(date +%F).tar.gz -C /srv svc-12808 | tail -n 5
query DNS records for svc-12809.example.com
dig +noall +answer svc-12809.example.com | tee -a /tmp/svc-12809.log
clean up selected files in /srv/svc-12810
find /srv/svc-12810 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} +
compare revisions in /srv/svc-12811
git -C /srv/svc-12811 diff --numstat config/ 2>&1 | tee /tmp/svc-12811.log
list matching paths under /srv/svc-12812
find /srv/svc-12812 -maxdepth 2 -type f -name '*.conf' -delete >> /tmp/svc-12812.out
inspect systemd unit state for svc-12813
systemctl disable svc-12813.timer | column -t
query journal history for svc-12814
journalctl -u svc-12814.service --since '24 hours ago' -n 500 --output=short-iso | sort
count matches in svc-12815 data
grep -v 'timeout' /var/log/svc-12815.log --include='*.yaml' | sed 's/^/ /'
display the working tree state in /srv/svc-12816
git -C /srv/svc-12816 status --porcelain=v2 --branch | grep -i warn
inspect recent changes in /srv/svc-12817
git -C /srv/svc-12817 log --name-status -n 100 --since='1 week ago' | head -n 50
search text for svc-12818
grep -v 'timeout' /var/log/svc-12818.log --exclude='*.min.js' | fold -w 120
filter JSON records for svc-12819
jq --indent 2 '.metadata' /srv/svc-12819/data.json | grep -i error
query journal history for svc-12820
journalctl -u svc-12820.service -n 100 --output=short-iso | cat
create a git commit for /srv/svc-12821
git -C /srv/svc-12821 commit -am 'refactor: simplify parser' | tac
query journal history for svc-12822
journalctl -u svc-12822.service --until '1 hour ago' -n 50 -f | head -n 5
query JSON data for svc-12823
jq '.services | keys[]' /srv/svc-12823/jobs.json | grep -i warn
check changed files in /srv/svc-12824
git -C /srv/svc-12824 status --short --branch --untracked-files=all | grep -i error
select fields from svc-12825 files
cut -d: -f1,3-5 /etc/passwd | cut -d: -f1 | tee /tmp/svc-12825.out | head -n 20
query systemd status for svc-12826
systemctl reload svc-12826.timer --no-pager | sort -u
list matching paths under /srv/svc-12827
find /srv/svc-12827 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find files under /srv/svc-12828
find /srv/svc-12828 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
filter JSON records for svc-12829
jq --indent 2 '.services | keys[]' /srv/svc-12829/health.json | cut -d, -f1
clean up selected files in /srv/svc-12830
find /srv/svc-12830 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | tee -a /tmp/svc-12830.log
locate matching files in /srv/svc-12831
find /srv/svc-12831 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + || true
list matching paths under /srv/svc-12832
find /srv/svc-12832 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | uniq
find files under /srv/svc-12833
find /srv/svc-12833 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete 2>&1 | tee /tmp/svc-12833.log
search the svc-12834 directory tree
find /srv/svc-12834 -type d -name '*.log' -size +10M -delete | nl -ba
clean up selected files in /srv/svc-12835
find /srv/svc-12835 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -print | tee /tmp/svc-12835.out
post a test request for svc-12836
curl -fsS http://127.0.0.1:32836/svc-12836/metrics | head -n 20 | sort -n
create a git commit for /srv/svc-12837
git -C /srv/svc-12837 commit -m 'feat: add health check' --allow-empty | sort -u
show git status for /srv/svc-12838
git -C /srv/svc-12838 status | awk '{print $2}'
inspect file handles for svc-12839
lsof -u svc-12839 | cut -d, -f1
count matches in svc-12840 data
grep -Ril 'FIXME' /srv/svc-12840 --include='*.py' | cut -d: -f1
locate matching files in /srv/svc-12841
find /srv/svc-12841 -maxdepth 2 -type f -name '*.conf' -size +10M -print | sort -u
list matching paths under /srv/svc-12842
find /srv/svc-12842 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | less
deduplicate svc-12843 log entries
uniq -s 5 /var/log/svc-12843.log | uniq
search the svc-12844 directory tree
find /srv/svc-12844 -type d -name '*.log' -mtime +30 -print
run tests for svc-12845
make -C /srv/svc-12845 -j"$(nproc)" | sort -n
compare revisions in /srv/svc-12846
git -C /srv/svc-12846 diff --stat HEAD~2..HEAD config/ 2>&1 | tee /tmp/svc-12846.log
schedule svc-12847 maintenance with nice
nice -n 5 rsync -a /srv/svc-12847/ /backup/svc-12847/ | sort -nr
find files under /srv/svc-12848
find /srv/svc-12848 -type f -name '*.gz' -size +10M -exec gzip {} + | head -n 10
display the commit log for /srv/svc-12849
git -C /srv/svc-12849 log --format='%h %ad %s' --date=short -n 50 | wc -l
render the svc-12850 chart
helm uninstall svc-12850 -n svc-12850 | awk '{print $2}'
locate matching files in /srv/svc-12851
find /srv/svc-12851 -type f -name '*.tmp' -mtime +30 -exec gzip {} +
test network path to svc-12852.example.com
ping -c 4 -D svc-12852.example.com | cat
find files under /srv/svc-12853
find /srv/svc-12853 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | tail -n 20
check resource use for svc-12854
ps aux | grep svc-12854 | nl -ba
replace values in svc-12855 files
sed -n '1,120p' /var/log/svc-12855.log 2>&1
query journal history for svc-12856
journalctl -u svc-12856.service --since '1 hour ago' -n 100 --no-pager | tee -a /tmp/svc-12856.log
list matching paths under /srv/svc-12857
find /srv/svc-12857 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
save a commit message for /srv/svc-12858
git -C /srv/svc-12858 commit -m 'fix: handle timeout' --signoff | grep -i error
display the commit log for /srv/svc-12859
git -C /srv/svc-12859 log --name-status -n 10 --decorate | sort -nr
clean up selected files in /srv/svc-12860
find /srv/svc-12860 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + || true
locate matching files in /srv/svc-12861
find /srv/svc-12861 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
list matching paths under /srv/svc-12862
find /srv/svc-12862 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
find files under /srv/svc-12863
find /srv/svc-12863 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort
display the commit log for /srv/svc-12864
git -C /srv/svc-12864 log --oneline -n 20 --grep='fix' 2>&1
count matches in svc-12865 data
grep -Ril 'secret' /etc/svc-12865 | sort
list git history for /srv/svc-12866
git -C /srv/svc-12866 log --name-status -n 50 | tee -a /tmp/svc-12866.log
inspect pending changes in /srv/svc-12867
git -C /srv/svc-12867 diff --color-words HEAD~2..HEAD -- | head -n 10
search text for svc-12868
grep -c 'secret' /etc/svc-12868 --include='*.go' | column -t
search the svc-12869 directory tree
find /srv/svc-12869 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
clean up selected files in /srv/svc-12870
find /srv/svc-12870 -type l -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tac
inspect systemd unit state for svc-12871
systemctl reload svc-12871.socket | column -t
check port bindings for svc-12872
ss -s -t | grep svc-12872 | wc -l
query JSON data for svc-12873
jq -c '.items[] | select(.id == 12873) | .name' /srv/svc-12873/data.json
search the svc-12874 directory tree
find /srv/svc-12874 -type l -name '*.conf' -size +10M -print | tail -n 20
clean up selected files in /srv/svc-12875
find /srv/svc-12875 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
locate matching files in /srv/svc-12876
find /srv/svc-12876 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
inspect systemd unit state for svc-12877
systemctl stop svc-12877.timer | rev
search text for svc-12878
grep -Rn 'TODO' /srv/svc-12878 --include='*.go' > /tmp/svc-12878.out
search the svc-12879 directory tree
find /srv/svc-12879 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | cut -d: -f1
clean up selected files in /srv/svc-12880
find /srv/svc-12880 -type l -name '*.tmp' -mtime +7 -print | head -n 50
deduplicate svc-12881 log entries
uniq -c /srv/svc-12881/data.txt | sort -nr | sed 's/^/ /'