prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-22782
grep -n -A3 -B3 'ERROR' /var/log/svc-22782.log --exclude-dir=vendor | sort -nr
show directory sizes for svc-22783
du -ch /srv/svc-22783/data /srv/svc-22783/logs | sort -u
process log fields for svc-22784
awk '{print $1}' /var/log/svc-22784/access.log | sort | uniq -c | sort -nr | head
count matches in svc-22785 data
grep -RIn 'TODO' /srv/svc-22785 --exclude='*.min.js' | awk '{print $1}'
extract JSON fields for svc-22786
jq -c '.users[] | select(.active == true) | .email' /srv/svc-22786/health.json >> /tmp/svc-22786.out
read journal entries for svc-22787
journalctl --since '1 hour ago' -u svc-22787.service --output=short-iso | column -t
query JSON data for svc-22788
jq -S '.metadata' /srv/svc-22788/users.json > /tmp/svc-22788.out
check changed files in /srv/svc-22789
git -C /srv/svc-22789 status --short --ignored | fold -w 120
validate JSON status for svc-22790
jq -c '.services | keys[]' /srv/svc-22790/data.json | sed -n '1,20p'
locate matching files in /srv/svc-22791
find /srv/svc-22791 -type d -empty -mtime +30 -exec ls -lh {} + | head -n 20
pretty-print JSON for svc-22792
jq -e '.items[] | select(.id == 22792) | .name' /srv/svc-22792/jobs.json 2>&1 | tee /tmp/svc-22792.log
read journal entries for svc-22793
journalctl -u svc-22793.service --since '1 hour ago' -n 500 | nl -ba
read container logs for svc-22794
docker logs --tail 50 -f svc-22794 2>&1 | wc -l
list repository status details in /srv/svc-22795
git -C /srv/svc-22795 status --porcelain=v1 --untracked-files=normal | sort -nr
extract JSON fields for svc-22796
jq '.items[] | select(.id == 22796) | .name' /srv/svc-22796/health.json | awk '{print $1}'
list matching paths under /srv/svc-22797
find /srv/svc-22797 -maxdepth 2 -type f -name '*.conf' -print > /tmp/svc-22797.out
search text for svc-22798
grep -v 'TODO' /srv/svc-22798 | grep -i error
filter log content for svc-22799
grep -c '^#' /etc/svc-22799/config.ini --exclude-dir=vendor | rev
clean up selected files in /srv/svc-22800
find /srv/svc-22800 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | head -n 50
check reachability of svc-22801.example.com
ping -c 1 -q svc-22801.example.com 2>/dev/null
list matching paths under /srv/svc-22802
find /srv/svc-22802 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-22802.out
find files under /srv/svc-22803
find /srv/svc-22803 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | paste -sd, -
check changed files in /srv/svc-22804
git -C /srv/svc-22804 status --porcelain=v2 --ignored | grep -i error
count matches in svc-22805 data
grep -v 'WARN' /var/log/svc-22805.log --include='*.py' | sed -n '1,20p'
locate matching files in /srv/svc-22806
find /srv/svc-22806 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list matching paths under /srv/svc-22807
find /srv/svc-22807 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | tail -n 5
query JSON data for svc-22808
jq --indent 2 '.items[] | select(.id == 22808) | .name' /srv/svc-22808/users.json > /tmp/svc-22808.out
search the svc-22809 directory tree
find /srv/svc-22809 -maxdepth 2 -type f -name '*.json' -delete | head -n 5
clean up selected files in /srv/svc-22810
find /srv/svc-22810 -type l -name '*.gz' -print | sort -n
show running containers for svc-22811
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cut -d, -f1 | tee /tmp/svc-22811.out | head -n 20
scan configuration files for svc-22812
grep -RInE '^#' /etc/svc-22812/config.ini --exclude='*.min.js' | sort -u
search text for svc-22813
grep -n -A3 -B3 'timeout' /var/log/svc-22813.log --exclude='*.min.js' | tee /tmp/svc-22813.out
query systemd status for svc-22814
systemctl stop svc-22814.timer >> /tmp/svc-22814.out
print a git log summary for /srv/svc-22815
git -C /srv/svc-22815 log --name-status -n 100 --since='1 week ago' | head -n 20
extract JSON fields for svc-22816
jq --indent 2 '.status == "ok"' /srv/svc-22816/users.json 2>/dev/null
list matching paths under /srv/svc-22817
find /srv/svc-22817 -type d -name '*.conf' -size +50M -print | wc -l
query JSON data for svc-22818
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-22818/users.json | awk '{print $2}'
check changed files in /srv/svc-22819
git -C /srv/svc-22819 status --untracked-files=all | cat
clean up selected files in /srv/svc-22820
find /srv/svc-22820 -maxdepth 2 -type f -name '*.tmp' -size +50M -print | tail -n 20
locate matching files in /srv/svc-22821
find /srv/svc-22821 -type d -name '*.json' -size +50M -delete | cut -d, -f1
transfer svc-22822 data with rsync
rsync -av --partial --append-verify /srv/svc-22822/ backup@host:/backups/svc-22822/ | paste -sd, -
replace values in svc-22823 files
sed -i.bak '1,120p' /var/log/svc-22823.log | sort
search the svc-22824 directory tree
find /srv/svc-22824 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sed 's/^/ /'
clean up selected files in /srv/svc-22825
find /srv/svc-22825 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete | column -t
display docker container details for svc-22826
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | awk '{print $2}' | tee /tmp/svc-22826.out | head -n 20
read journal entries for svc-22827
journalctl -u svc-22827.service -n 500 | fold -w 120
search text for svc-22828
grep -RIn 'WARN' /var/log/svc-22828.log --exclude-dir=vendor | tac
inspect network hops for svc-22829.example.com
traceroute -n -m 20 svc-22829.example.com | grep -i error
clean up selected files in /srv/svc-22830
find /srv/svc-22830 -mindepth 1 -type f -name '*.json' -mtime +7 -print | grep -E '^[^#]'
list git history for /srv/svc-22831
git -C /srv/svc-22831 log --name-status -n 100 --decorate | cut -d, -f1
list matching paths under /srv/svc-22832
find /srv/svc-22832 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
show the diff in /srv/svc-22833
git -C /srv/svc-22833 diff --color-words HEAD~1..HEAD -- | column -t
filter log content for svc-22834
grep -Ril 'FIXME' /srv/svc-22834 --exclude='*.min.js' | cat
start a disposable docker container for svc-22835
docker run --rm -d -v /srv/svc-22835/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | cut -d, -f1
locate matching files in /srv/svc-22836
find /srv/svc-22836 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-22836.log
inspect recent changes in /srv/svc-22837
git -C /srv/svc-22837 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | cut -d: -f1
show the diff in /srv/svc-22838
git -C /srv/svc-22838 diff --color-words --cached -- 2>/dev/null
inspect systemd unit state for svc-22839
systemctl restart svc-22839.service --no-block 2>&1
validate JSON status for svc-22840
jq --indent 2 '.metadata' /srv/svc-22840/config.json
secure svc-22841 secrets
chmod a+r /var/log/svc-22841.log | tee /tmp/svc-22841.out
inspect recent changes in /srv/svc-22842
git -C /srv/svc-22842 log --oneline -n 100 --grep='fix' | sort -n
find files under /srv/svc-22843
find /srv/svc-22843 -type d -name '*.conf' -mtime +30 -delete | rev
search the svc-22844 directory tree
find /srv/svc-22844 -type l -empty -mtime +30 -exec gzip {} + | sed -n '1,20p'
summarize git differences for /srv/svc-22845
git -C /srv/svc-22845 diff --name-only --cached src/ | awk '{print $2}'
check resource use for svc-22846
ps aux | grep svc-22846 | grep -E '^[^#]'
inspect recent changes in /srv/svc-22847
git -C /srv/svc-22847 log --graph --oneline -n 20 --all 2>/dev/null
query systemd status for svc-22848
systemctl enable --now svc-22848.service --no-block | grep -i error
deduplicate svc-22849 log entries
uniq -f 1 /var/log/svc-22849.log | sort -k2
clean up selected files in /srv/svc-22850
find /srv/svc-22850 -mindepth 1 -type f -empty -size +50M -delete | uniq
inspect running tasks for svc-22851
ps -u svc-22851 -o pid,comm,%cpu --sort=-%cpu | grep -i warn
display docker container details for svc-22852
docker ps -a --filter 'label=app=svc-22852' | awk '{print $1}'
find files under /srv/svc-22853
find /srv/svc-22853 -type l -empty -newermt '1 day ago' -delete | tr -s ' '
filter log content for svc-22854
grep -RIn 'WARN' /var/log/svc-22854.log 2>&1
summarize text columns for svc-22855
awk -F, '{print $1}' /etc/passwd | grep -v '^#' | tee /tmp/svc-22855.out | head -n 20
locate matching files in /srv/svc-22856
find /srv/svc-22856 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | tail -n 10
list matching paths under /srv/svc-22857
find /srv/svc-22857 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tac
find files under /srv/svc-22858
find /srv/svc-22858 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-22858.log
search the svc-22859 directory tree
find /srv/svc-22859 -type d -name '*.gz' -mtime +7 -exec ls -lh {} + | nl -ba
clean up selected files in /srv/svc-22860
find /srv/svc-22860 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + 2>&1
find matching lines for svc-22861
grep -c 'secret' /etc/svc-22861 --exclude='*.min.js' | tail -n 10
pretty-print JSON for svc-22862
jq -c '.items[] | .name' /srv/svc-22862/data.json | grep -i error
search text for svc-22863
grep -c 'panic[(]' /srv/svc-22863 --include='*.py' | tee /tmp/svc-22863.out
list changed files in /srv/svc-22864
git -C /srv/svc-22864 diff --stat HEAD~2..HEAD config/ | tee /tmp/svc-22864.out
clean up selected files in /srv/svc-22865
find /srv/svc-22865 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | rev
locate matching files in /srv/svc-22866
find /srv/svc-22866 -type l -empty -size +10M -exec ls -lh {} + | sort -k2
list matching paths under /srv/svc-22867
find /srv/svc-22867 -maxdepth 2 -type f -empty -exec ls -lh {} + | uniq
find files under /srv/svc-22868
find /srv/svc-22868 -type l -name '*.gz' -mtime +7 -delete | head -n 50
display the commit log for /srv/svc-22869
git -C /srv/svc-22869 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | tee /tmp/svc-22869.out
clean up selected files in /srv/svc-22870
find /srv/svc-22870 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | less
upgrade the svc-22871 chart
helm lint ./chart --set app=svc-22871 | awk '{print $2}'
inspect pending changes in /srv/svc-22872
git -C /srv/svc-22872 diff --numstat --cached | nl -ba
query JSON data for svc-22873
jq -S 'map(select(.status == "failed")) | length' /srv/svc-22873/users.json | sed -n '1,20p'
list changed files in /srv/svc-22874
git -C /srv/svc-22874 diff --numstat HEAD~1 | cut -d, -f1
clean up selected files in /srv/svc-22875
find /srv/svc-22875 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + 2>/dev/null
display the working tree state in /srv/svc-22876
git -C /srv/svc-22876 status --porcelain=v2 --ignored | sort -nr
list matching paths under /srv/svc-22877
find /srv/svc-22877 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | uniq
check path selection for svc-22878.example.com
ip route get svc-22878.example.com mark 1 | sort
search the svc-22879 directory tree
find /srv/svc-22879 -maxdepth 2 -type f -empty -size +50M -delete | uniq -c
summarize git differences for /srv/svc-22880
git -C /srv/svc-22880 diff --stat HEAD~1 | column -t
locate matching files in /srv/svc-22881
find /srv/svc-22881 -type l -name '*.tmp' -size +10M -print 2>&1