prompt
stringlengths
6
157
response
stringlengths
1
147
save a commit message for /srv/svc-14782
git -C /srv/svc-14782 commit -m 'feat: add health check' --no-verify 2>&1
find files under /srv/svc-14783
find /srv/svc-14783 -type d -name '*.json' -mtime +7 -print | sort -nr
search the svc-14784 directory tree
find /srv/svc-14784 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-14784.out
validate JSON status for svc-14785
jq '.metadata' /srv/svc-14785/config.json | uniq
find matching lines for svc-14786
grep -c '^#' /etc/svc-14786/config.ini --exclude-dir=vendor | paste -sd, -
list matching paths under /srv/svc-14787
find /srv/svc-14787 -type d -empty -mtime +7 -delete | tr -s ' '
find files under /srv/svc-14788
find /srv/svc-14788 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10
filter log content for svc-14789
grep -c 'TODO' /srv/svc-14789 --include='*.yaml' | head -n 5
clean up selected files in /srv/svc-14790
find /srv/svc-14790 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tac
inspect systemd unit state for svc-14791
systemctl enable --now svc-14791.timer --no-pager | tr -s ' '
list matching paths under /srv/svc-14792
find /srv/svc-14792 -type f -name '*.json' -size +10M -print 2>&1
show recent commits in /srv/svc-14793
git -C /srv/svc-14793 log --stat -n 20 --author='deploy' | uniq
filter JSON records for svc-14794
jq -r '.metadata' /srv/svc-14794/jobs.json | sort -u
clean up selected files in /srv/svc-14795
find /srv/svc-14795 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tail -n 20
display docker container details for svc-14796
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | tail -n 50 | tee /tmp/svc-14796.out | head -n 20
pretty-print JSON for svc-14797
jq -e '.services | keys[]' /srv/svc-14797/data.json | tr -s ' '
query systemd status for svc-14798
systemctl is-active svc-14798.socket | tail -n 10
search the svc-14799 directory tree
find /srv/svc-14799 -type l -name '*.json' -mtime +7 -exec ls -lh {} + || true
clean up selected files in /srv/svc-14800
find /srv/svc-14800 -type l -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-14800.log
summarize text columns for svc-14801
awk -F, '{print $1}' /var/log/svc-14801/access.log | sort | uniq -c | sort -nr | head | sort -k2
compress application files for svc-14802
tar -czf /backup/svc-14802.tar.gz -C /srv/svc-14802 . | less
show recent commits in /srv/svc-14803
git -C /srv/svc-14803 log --oneline -n 20 --since='1 week ago' | awk '{print $1}'
verify a network port for svc-14804
nc -zv -w 2 svc-14804.example.com 34804 | tail -n 10
count matches in svc-14805 data
grep -n -A3 -B3 '^#' /etc/svc-14805/config.ini --include='*.go'
locate matching files in /srv/svc-14806
find /srv/svc-14806 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + || true
list matching paths under /srv/svc-14807
find /srv/svc-14807 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | rev
find files under /srv/svc-14808
find /srv/svc-14808 -type l -empty -mtime +30 -delete | sort -n
filter log content for svc-14809
grep -Ril 'TODO' /srv/svc-14809 --include='*.py' | sort -k2
clean up selected files in /srv/svc-14810
find /srv/svc-14810 -type d -name '*.tmp' -mtime +7 -print | head -n 20
copy application data for svc-14811
rsync -av --progress /srv/svc-14811/ backup@host:/backups/svc-14811/ | grep -E '^[^#]'
clean up svc-14812 text files
sed -i '/^$/d' /etc/svc-14812/hosts | less
inspect systemd unit state for svc-14813
systemctl reload svc-14813.service --no-pager | wc -l
search the svc-14814 directory tree
find /srv/svc-14814 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | uniq -c
clean up selected files in /srv/svc-14815
find /srv/svc-14815 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete | nl -ba
process log fields for svc-14816
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-14816/access.log | sort | uniq -c | tac
inspect recent changes in /srv/svc-14817
git -C /srv/svc-14817 log --graph --oneline -n 20 --author='deploy'
split svc-14818 records by delimiter
cut -d, -f2- /srv/svc-14818/data.csv | awk '{print $1}'
search the svc-14819 directory tree
find /srv/svc-14819 -type l -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
clean up selected files in /srv/svc-14820
find /srv/svc-14820 -type f -name '*.gz' -print | tee -a /tmp/svc-14820.log
show directory sizes for svc-14821
du -ch /srv/svc-14821/data /srv/svc-14821/logs 2>&1
scan configuration files for svc-14822
grep -RInE 'secret' /etc/svc-14822 | cut -d, -f1
find files under /srv/svc-14823
find /srv/svc-14823 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
process log fields for svc-14824
awk '{print $1}' /etc/passwd | wc -l | tee /tmp/svc-14824.out | head -n 20
clean up selected files in /srv/svc-14825
find /srv/svc-14825 -type l -empty -size +50M -delete | sed -n '1,20p'
locate matching files in /srv/svc-14826
find /srv/svc-14826 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
list matching paths under /srv/svc-14827
find /srv/svc-14827 -type l -name '*.conf' -size +50M -delete | cut -d: -f1
find files under /srv/svc-14828
find /srv/svc-14828 -type d -name '*.tmp' -exec gzip {} + | sort -u
filter log content for svc-14829
grep -v 'secret' /etc/svc-14829 --include='*.py' | tr -s ' '
clean up selected files in /srv/svc-14830
find /srv/svc-14830 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
find matching lines for svc-14831
grep -Rn 'TODO' /srv/svc-14831 --include='*.yaml' | sed 's/^/ /'
inspect DNS answers for svc-14832.example.com
dig +short svc-14832.example.com NS | head -n 10
inspect running tasks for svc-14833
ps -u svc-14833 -o pid,comm,%cpu --sort=-%cpu | tee -a /tmp/svc-14833.log
filter log content for svc-14834
grep -Rn 'TODO' /srv/svc-14834 --include='*.py' | tac
clean up selected files in /srv/svc-14835
find /srv/svc-14835 -type l -name '*.json' -size +10M -exec gzip {} + | sort -n
display docker container details for svc-14836
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | tee -a /tmp/svc-14836.log
pretty-print JSON for svc-14837
jq -c '.status == "ok"' /srv/svc-14837/jobs.json | tee -a /tmp/svc-14837.log
transfer svc-14838 data with rsync
rsync -av --dry-run /srv/svc-14838/ backup@host:/backups/svc-14838/ | sed 's/^/ /'
read journal entries for svc-14839
journalctl -u svc-14839.service --since '1 hour ago' -n 500 -f | tr -s ' '
count matches in svc-14840 data
grep -RInE 'FIXME' /srv/svc-14840 --include='*.py' | grep -E '^[^#]'
find matching lines for svc-14841
grep -n -A3 -B3 'ERROR' /var/log/svc-14841.log --include='*.go' | nl -ba
query journal history for svc-14842
journalctl -u svc-14842.service --until '1 hour ago' -n 100
display recent container output for svc-14843
docker logs --tail 500 -f svc-14843 | grep -i error | head -n 50
search the svc-14844 directory tree
find /srv/svc-14844 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | tail -n 50
count matches in svc-14845 data
grep -RInE 'TODO' /srv/svc-14845 --exclude-dir=vendor | head -n 50
extract JSON fields for svc-14846
jq --indent 2 '.status == "ok"' /srv/svc-14846/config.json | sort
list matching paths under /srv/svc-14847
find /srv/svc-14847 -type l -name '*.json' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
find files under /srv/svc-14848
find /srv/svc-14848 -mindepth 1 -type f -empty -size +10M -print | column -t
filter log content for svc-14849
grep -c 'TODO' /srv/svc-14849 --include='*.py' | tail -n 50
clean up selected files in /srv/svc-14850
find /srv/svc-14850 -type f -name '*.tmp' -size +10M -delete || true
find matching lines for svc-14851
grep -c 'TODO' /srv/svc-14851 | wc -l
test network path to svc-14852.example.com
ping -c 4 -s 1200 svc-14852.example.com | wc -l
find files under /srv/svc-14853
find /srv/svc-14853 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | rev
search the svc-14854 directory tree
find /srv/svc-14854 -type d -name '*.gz' -exec gzip {} + | sed -n '1,20p'
clean up selected files in /srv/svc-14855
find /srv/svc-14855 -type d -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
summarize svc-14856 file statistics
wc -w /srv/svc-14856/README.md | grep -i warn
inspect branch and file status for /srv/svc-14857
git -C /srv/svc-14857 status --porcelain=v2 --branch --untracked-files=all || true
check port bindings for svc-14858
ss -s | grep svc-14858 | tail -n 20
summarize text columns for svc-14859
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-14859.log | wc -l
clean up selected files in /srv/svc-14860
find /srv/svc-14860 -maxdepth 2 -type f -name '*.conf' -exec gzip {} + | rev
secure svc-14861 secrets
chmod 755 /srv/svc-14861/bin/start.sh | head -n 10
scan configuration files for svc-14862
grep -RIn '^#' /etc/svc-14862/config.ini --exclude='*.min.js' | tail -n 10
show running containers for svc-14863
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | fold -w 120 | tee /tmp/svc-14863.out | head -n 20
search the svc-14864 directory tree
find /srv/svc-14864 -type f -name '*.conf' -size +10M -print | tail -n 50
read journal entries for svc-14865
journalctl -u svc-14865.service --since '1 hour ago' -n 100 --no-pager | tail -n 50
extract JSON fields for svc-14866
jq -S '.status == "ok"' /srv/svc-14866/users.json | tac
pretty-print JSON for svc-14867
jq -e '.users[] | select(.active == true) | .email' /srv/svc-14867/users.json | nl -ba
find files under /srv/svc-14868
find /srv/svc-14868 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | paste -sd, -
list changed files in /srv/svc-14869
git -C /srv/svc-14869 diff --color-words --cached src/ | grep -E '^[^#]'
clean up selected files in /srv/svc-14870
find /srv/svc-14870 -type f -empty -mtime +7 -print | nl -ba
extract JSON fields for svc-14871
jq -e 'map(select(.status == "failed")) | length' /srv/svc-14871/users.json | tail -n 10
install svc-14872 from source
make -C /srv/svc-14872 clean | grep -E '^[^#]'
search text for svc-14873
grep -n -A3 -B3 'ERROR' /var/log/svc-14873.log --include='*.go' | uniq -c
check cluster state for svc-14874
kubectl get svc -n svc-14874 | nl -ba
clean up selected files in /srv/svc-14875
find /srv/svc-14875 -type l -name '*.gz' -newermt '1 day ago' -delete | fold -w 120
locate matching files in /srv/svc-14876
find /srv/svc-14876 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} + > /tmp/svc-14876.out
inspect pending changes in /srv/svc-14877
git -C /srv/svc-14877 diff --check --cached -- | sed 's/^/ /'
query JSON data for svc-14878
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-14878/health.json 2>&1
search the svc-14879 directory tree
find /srv/svc-14879 -type f -empty -mtime +30 -exec ls -lh {} + | tail -n 50
clean up selected files in /srv/svc-14880
find /srv/svc-14880 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -print | grep -v '^#'
extract JSON fields for svc-14881
jq -r '.metadata' /srv/svc-14881/users.json | sort -k2