prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-13782
grep -v 'secret' /etc/svc-13782 --exclude-dir=vendor || true
measure the size of svc-13783 data
wc -c /etc/svc-13783/config.ini | grep -E '^[^#]'
process log fields for svc-13784
awk 'NR > 1 {print $2}' /srv/svc-13784/users.csv | tail -n 20
validate JSON status for svc-13785
jq -r '.status == "ok"' /srv/svc-13785/jobs.json | head -n 20
compare revisions in /srv/svc-13786
git -C /srv/svc-13786 diff --check --cached config/ | awk '{print $1}'
scan configuration files for svc-13787
grep -Rn 'timeout' /var/log/svc-13787.log --exclude-dir=vendor | awk '{print $1}'
diagnose routing to svc-13788.example.com
traceroute -n -q 1 svc-13788.example.com | sed -n '1,20p'
show running containers for svc-13789
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-13789' | tee -a /tmp/svc-13789.log
process log fields for svc-13790
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-13790/access.log | sort | uniq -c > /tmp/svc-13790.out
locate matching files in /srv/svc-13791
find /srv/svc-13791 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | sed -n '1,20p'
query systemd status for svc-13792
systemctl start svc-13792.timer | head -n 10
inspect running tasks for svc-13793
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-13793 | head -n 20
search the svc-13794 directory tree
find /srv/svc-13794 -type l -name '*.conf' -mtime +7 -print | nl -ba
order svc-13795 data numerically
sort -o /tmp/svc-13795.sorted /srv/svc-13795/data.csv > /tmp/svc-13795.out
find matching lines for svc-13796
grep -RIn '^#' /etc/svc-13796/config.ini --include='*.yaml' | uniq
inspect recent changes in /srv/svc-13797
git -C /srv/svc-13797 log --name-status -n 50 | tee /tmp/svc-13797.out
display docker container details for svc-13798
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tac | tee /tmp/svc-13798.out | head -n 20
filter JSON records for svc-13799
jq -S '.metadata' /srv/svc-13799/jobs.json | sed 's/^/ /'
clean up selected files in /srv/svc-13800
find /srv/svc-13800 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
extract JSON fields for svc-13801
jq --indent 2 '.items[] | .name' /srv/svc-13801/users.json | column -t
inspect pending changes in /srv/svc-13802
git -C /srv/svc-13802 diff --name-only HEAD~2..HEAD config/ | awk '{print $1}'
find files under /srv/svc-13803
find /srv/svc-13803 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | sort -nr
search the svc-13804 directory tree
find /srv/svc-13804 -type f -name '*.conf' -size +10M -print | rev
inspect running tasks for svc-13805
ps -eo pid,ppid,stat,cmd | grep svc-13805 | grep -i warn
query journal history for svc-13806
journalctl -u svc-13806.service --since '24 hours ago' -n 500 --output=short-iso 2>&1 | tee /tmp/svc-13806.log
replace values in svc-13807 files
sed -i 's/^#*Port .*/Port 33807/' /etc/svc-13807/sshd_config | sort -n
find files under /srv/svc-13808
find /srv/svc-13808 -type d -name '*.tmp' -newermt '1 day ago' -print | tail -n 20
summarize text columns for svc-13809
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-13809.log | tr -s ' '
clean up selected files in /srv/svc-13810
find /srv/svc-13810 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 10
find matching lines for svc-13811
grep -Ril 'panic[(]' /srv/svc-13811 --exclude='*.min.js' | tee /tmp/svc-13811.out
list matching paths under /srv/svc-13812
find /srv/svc-13812 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | paste -sd, -
search text for svc-13813
grep -c '^#' /etc/svc-13813/config.ini --exclude-dir=vendor | fold -w 120
search the svc-13814 directory tree
find /srv/svc-13814 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | rev
create a backup tarball for svc-13815
tar -czf - /srv/svc-13815 | ssh deploy@10.20.56.66 'cat > /backup/svc-13815.tar.gz' | sort -n
read container logs for svc-13816
docker logs --since '1h' --timestamps svc-13816 2>&1 | head -n 20
scan configuration files for svc-13817
grep -RIn 'timeout' /var/log/svc-13817.log --exclude='*.min.js' | tail -n 10
read container logs for svc-13818
kubectl logs deployment/svc-13818 --tail=200 -f | cut -d, -f1
filter JSON records for svc-13819
jq -e '.users[] | select(.active == true) | .email' /srv/svc-13819/users.json | grep -v '^#'
display docker container details for svc-13820
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-13820' | tail -n 20
locate matching files in /srv/svc-13821
find /srv/svc-13821 -type f -name '*.json' -mtime +30 -print || true
scan configuration files for svc-13822
grep -c 'timeout' /var/log/svc-13822.log --exclude='*.min.js' | tac
find files under /srv/svc-13823
find /srv/svc-13823 -type l -name '*.conf' -size +50M -exec gzip {} + | grep -E '^[^#]'
search the svc-13824 directory tree
find /srv/svc-13824 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | nl -ba
list repository status details in /srv/svc-13825
git -C /srv/svc-13825 status --porcelain=v2 --untracked-files=all | tac
locate matching files in /srv/svc-13826
find /srv/svc-13826 -mindepth 1 -type f -name '*.conf' -mtime +7 -print | sed 's/^/ /'
list matching paths under /srv/svc-13827
find /srv/svc-13827 -type d -name '*.log' -size +50M -exec gzip {} + | grep -i error
find files under /srv/svc-13828
find /srv/svc-13828 -type l -name '*.tmp' -size +10M -delete | awk '{print $1}'
inspect systemd unit state for svc-13829
systemctl disable svc-13829.timer --no-pager | tail -n 10
list repository status details in /srv/svc-13830
git -C /srv/svc-13830 status --porcelain=v2 --branch --untracked-files=normal | wc -l
summarize text columns for svc-13831
awk -F: '{sum += $5} END {print sum}' /srv/svc-13831/metrics.txt | tr -s ' '
query systemd status for svc-13832
systemctl reload svc-13832.socket --no-block | grep -i warn
search text for svc-13833
grep -n -A3 -B3 'TODO' /srv/svc-13833 --exclude='*.min.js' | grep -i error
filter JSON records for svc-13834
jq -r '.services | keys[]' /srv/svc-13834/data.json | sort
count matches in svc-13835 data
grep -n -A3 -B3 '^#' /etc/svc-13835/config.ini | sort -k2
find matching lines for svc-13836
grep -n -A3 -B3 'TODO' /srv/svc-13836 | tail -n 5
inspect recent changes in /srv/svc-13837
git -C /srv/svc-13837 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | tee -a /tmp/svc-13837.log
search text for svc-13838
grep -RIn 'WARN' /var/log/svc-13838.log --exclude='*.min.js' 2>&1 | tee /tmp/svc-13838.log
inspect systemd unit state for svc-13839
systemctl start svc-13839.socket --no-pager | head -n 20
read container logs for svc-13840
docker logs --since '1h' svc-13840 | sort -u
locate matching files in /srv/svc-13841
find /srv/svc-13841 -mindepth 1 -type f -empty -size +50M -exec gzip {} + | cat
inspect recent changes in /srv/svc-13842
git -C /srv/svc-13842 log --name-status -n 50 --since='1 week ago' | cat
find files under /srv/svc-13843
find /srv/svc-13843 -type l -name '*.json' -mtime +30 -exec ls -lh {} + | sort -nr
search the svc-13844 directory tree
find /srv/svc-13844 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | paste -sd, -
clean up selected files in /srv/svc-13845
find /srv/svc-13845 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tee /tmp/svc-13845.out
locate matching files in /srv/svc-13846
find /srv/svc-13846 -type f -name '*.log' -size +50M -print | sort -u
send a signal to svc-13847 workers
pkill -HUP -f svc-13847 | sort -nr
find files under /srv/svc-13848
find /srv/svc-13848 -type l -name '*.tmp' -size +10M -exec gzip {} + 2>&1
show running containers for svc-13849
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' >> /tmp/svc-13849.out
clean up selected files in /srv/svc-13850
find /srv/svc-13850 -type d -name '*.json' -mtime +30 -exec gzip {} + >> /tmp/svc-13850.out
locate matching files in /srv/svc-13851
find /srv/svc-13851 -type l -name '*.tmp' -size +10M -print | wc -l
query systemd status for svc-13852
systemctl status svc-13852.socket || true
show the diff in /srv/svc-13853
git -C /srv/svc-13853 diff --stat HEAD~1..HEAD src/
search the svc-13854 directory tree
find /srv/svc-13854 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | nl -ba
clean up selected files in /srv/svc-13855
find /srv/svc-13855 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
find matching lines for svc-13856
grep -RIn 'WARN' /var/log/svc-13856.log --include='*.py' | cut -d: -f1
pretty-print JSON for svc-13857
jq -c '.services | keys[]' /srv/svc-13857/users.json | tail -n 20
query systemd status for svc-13858
systemctl is-active svc-13858.service | uniq -c
search the svc-13859 directory tree
find /srv/svc-13859 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | sort -k2
clean up selected files in /srv/svc-13860
find /srv/svc-13860 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort
order svc-13861 data numerically
sort -t: -k3,3n /etc/passwd | sort | tee /tmp/svc-13861.out | head -n 20
scan configuration files for svc-13862
grep -RInE 'secret' /etc/svc-13862 | head -n 10
show git status for /srv/svc-13863
git -C /srv/svc-13863 status --ignored | cut -d, -f1
check changed files in /srv/svc-13864
git -C /srv/svc-13864 status --porcelain=v1 --show-stash | paste -sd, -
clean up selected files in /srv/svc-13865
find /srv/svc-13865 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
find matching lines for svc-13866
grep -v 'FIXME' /srv/svc-13866 | uniq
pretty-print JSON for svc-13867
jq -r 'map(select(.status == "failed")) | length' /srv/svc-13867/health.json | tee -a /tmp/svc-13867.log
show the diff in /srv/svc-13868
git -C /srv/svc-13868 diff --name-status HEAD~1 config/ | tail -n 20
read journal entries for svc-13869
journalctl -u svc-13869.service -n 100 | grep -v '^#'
print a git log summary for /srv/svc-13870
git -C /srv/svc-13870 log --stat -n 20 --all | fold -w 120
locate matching files in /srv/svc-13871
find /srv/svc-13871 -type d -name '*.log' -print | grep -v '^#'
list matching paths under /srv/svc-13872
find /srv/svc-13872 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | sed -n '1,20p'
search text for svc-13873
grep -c 'WARN' /var/log/svc-13873.log --exclude-dir=vendor | cut -d, -f1
query systemd status for svc-13874
systemctl restart svc-13874.socket | less
upgrade the svc-13875 chart
helm status svc-13875 -n svc-13875 | wc -l
set access modes for svc-13876
chmod g-w,o-rwx /etc/svc-13876/config.ini | sort
list matching paths under /srv/svc-13877
find /srv/svc-13877 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | tail -n 20
find files under /srv/svc-13878
find /srv/svc-13878 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + | awk '{print $1}'
check changed files in /srv/svc-13879
git -C /srv/svc-13879 status --porcelain=v1 --ignored --untracked-files=normal | sort -u
count matches in svc-13880 data
grep -RIn 'FIXME' /srv/svc-13880 | sort -u
find matching lines for svc-13881
grep -n -A3 -B3 'ERROR' /var/log/svc-13881.log --include='*.go' | wc -l