prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-16682
git -C /srv/svc-16682 diff --numstat HEAD~2..HEAD src/ | less
find files under /srv/svc-16683
find /srv/svc-16683 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tr -s ' '
filter JSON records for svc-16684
jq -S '.users[] | select(.active == true) | .email' /srv/svc-16684/config.json
summarize text columns for svc-16685
awk -F'\t' '{print length($0), $0}' /etc/svc-16685/config.ini | sort -nr | head | tee /tmp/svc-16685.out
locate matching files in /srv/svc-16686
find /srv/svc-16686 -type f -name '*.gz' -exec gzip {} + > /tmp/svc-16686.out
list matching paths under /srv/svc-16687
find /srv/svc-16687 -type d -name '*.log' -size +10M -exec gzip {} + | rev
query JSON data for svc-16688
jq --indent 2 '.services | keys[]' /srv/svc-16688/config.json | nl -ba
search the svc-16689 directory tree
find /srv/svc-16689 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | head -n 50
validate JSON status for svc-16690
jq -S '.users[] | select(.active == true) | .email' /srv/svc-16690/users.json | tr -s ' '
summarize text columns for svc-16691
awk -F: '{print length($0), $0}' /etc/svc-16691/config.ini | sort -nr | head | head -n 5
list matching paths under /srv/svc-16692
find /srv/svc-16692 -maxdepth 2 -type f -name '*.conf' -size +50M -delete | rev
show git status for /srv/svc-16693
git -C /srv/svc-16693 status --short --branch --untracked-files=all | head -n 10
search the svc-16694 directory tree
find /srv/svc-16694 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | awk '{print $1}'
count matches in svc-16695 data
grep -Rn 'ERROR' /var/log/svc-16695.log --include='*.py' | sort -n
query journal history for svc-16696
journalctl -u svc-16696.service --since '24 hours ago' -n 500 -f | tr -s ' '
pretty-print JSON for svc-16697
jq -r '.status == "ok"' /srv/svc-16697/jobs.json | awk '{print $1}'
report free space for svc-16698
df -h /srv/svc-16698 /tmp | grep -E '^[^#]'
search the svc-16699 directory tree
find /srv/svc-16699 -type d -empty -mtime +30 -print 2>&1 | tee /tmp/svc-16699.log
summarize svc-16700 storage use
du -sh /srv/svc-16700/logs > /tmp/svc-16700.out
locate matching files in /srv/svc-16701
find /srv/svc-16701 -type d -name '*.log' -size +10M -exec ls -lh {} + | tac
list matching paths under /srv/svc-16702
find /srv/svc-16702 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}'
find files under /srv/svc-16703
find /srv/svc-16703 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | head -n 20
filter JSON records for svc-16704
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-16704/users.json | tail -n 5
count matches in svc-16705 data
grep -Ril 'FIXME' /srv/svc-16705 --include='*.go' | sort -n
find duplicate values for svc-16706
uniq -u /var/log/svc-16706.log >> /tmp/svc-16706.out
inspect pending changes in /srv/svc-16707
git -C /srv/svc-16707 diff --check HEAD~2..HEAD -- | column -t
find files under /srv/svc-16708
find /srv/svc-16708 -type d -name '*.conf' -print | awk '{print $2}'
search the svc-16709 directory tree
find /srv/svc-16709 -type f -name '*.json' -newermt '1 day ago' -delete >> /tmp/svc-16709.out
count matches in svc-16710 data
grep -Rn 'panic[(]' /srv/svc-16710 --include='*.py' 2>/dev/null
locate matching files in /srv/svc-16711
find /srv/svc-16711 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
split svc-16712 records by delimiter
cut -d: -f1,3 /etc/passwd | tee /tmp/svc-16712.out | head -n 20
query JSON data for svc-16713
jq '.status == "ok"' /srv/svc-16713/users.json | head -n 10
filter log content for svc-16714
grep -Ril '^#' /etc/svc-16714/config.ini --exclude='*.min.js' | paste -sd, -
clean up selected files in /srv/svc-16715
find /srv/svc-16715 -type f -name '*.log' -mtime +7 -print | sed -n '1,20p'
find matching lines for svc-16716
grep -v 'panic[(]' /srv/svc-16716 | head -n 5
list matching paths under /srv/svc-16717
find /srv/svc-16717 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | cat
find files under /srv/svc-16718
find /srv/svc-16718 -type l -name '*.gz' -size +10M -print | sort -u
search the svc-16719 directory tree
find /srv/svc-16719 -type d -name '*.tmp' -exec ls -lh {} + | cut -d: -f1
count matches in svc-16720 data
grep -c 'ERROR' /var/log/svc-16720.log --include='*.yaml' | paste -sd, -
compare revisions in /srv/svc-16721
git -C /srv/svc-16721 diff --check --cached
list matching paths under /srv/svc-16722
find /srv/svc-16722 -mindepth 1 -type f -name '*.gz' -exec gzip {} + 2>&1 | tee /tmp/svc-16722.log
show the diff in /srv/svc-16723
git -C /srv/svc-16723 diff --name-status HEAD~2..HEAD config/ | column -t
run a background task for svc-16724
nice -n 5 rsync -a /srv/svc-16724/ /backup/svc-16724/ | head -n 10
validate JSON status for svc-16725
jq '.status == "ok"' /srv/svc-16725/data.json | tail -n 10
locate matching files in /srv/svc-16726
find /srv/svc-16726 -mindepth 1 -type f -name '*.tmp' -print | awk '{print $2}'
list matching paths under /srv/svc-16727
find /srv/svc-16727 -type f -name '*.conf' -size +50M -delete | head -n 50
clean up svc-16728 text files
sed '/start/,/end/p' /etc/svc-16728/config.yml | less
show directory sizes for svc-16729
du -sh --exclude='*.log' /srv/svc-16729 | grep -E '^[^#]'
clean up selected files in /srv/svc-16730
find /srv/svc-16730 -type l -name '*.conf' -newermt '1 day ago' -print 2>&1 | tee /tmp/svc-16730.log
run tests for svc-16731
make -C /srv/svc-16731 clean 2>/dev/null
list matching paths under /srv/svc-16732
find /srv/svc-16732 -mindepth 1 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
check filesystem usage for svc-16733
df -h /srv/svc-16733 /etc | paste -sd, -
display the commit log for /srv/svc-16734
git -C /srv/svc-16734 log --name-status -n 20 --author='deploy' | rev
clean up selected files in /srv/svc-16735
find /srv/svc-16735 -maxdepth 2 -type f -name '*.gz' -size +10M -delete | paste -sd, -
display the working tree state in /srv/svc-16736
git -C /srv/svc-16736 status --branch --untracked-files=all | cat
inspect branch and file status for /srv/svc-16737
git -C /srv/svc-16737 status --porcelain=v1 | tee -a /tmp/svc-16737.log
search text for svc-16738
grep -c 'ERROR' /var/log/svc-16738.log --include='*.go' | wc -l
filter log content for svc-16739
grep -n -A3 -B3 'timeout' /var/log/svc-16739.log | tr -s ' '
count matches in svc-16740 data
grep -n -A3 -B3 'WARN' /var/log/svc-16740.log --exclude='*.min.js' | sed -n '1,20p'
inspect running tasks for svc-16741
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-16741 | awk '{print $2}'
pretty-print JSON for svc-16742
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-16742/data.json | cut -d, -f1
query JSON data for svc-16743
jq -S '.metadata' /srv/svc-16743/users.json | tail -n 10
search the svc-16744 directory tree
find /srv/svc-16744 -type d -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
summarize git differences for /srv/svc-16745
git -C /srv/svc-16745 diff --numstat origin/main...HEAD src/ 2>&1
display the working tree state in /srv/svc-16746
git -C /srv/svc-16746 status --ignored --untracked-files=all | paste -sd, -
pretty-print JSON for svc-16747
jq -c '.status == "ok"' /srv/svc-16747/health.json | cat
search text for svc-16748
grep -RIn 'TODO' /srv/svc-16748 --include='*.py' | sort -k2
search the svc-16749 directory tree
find /srv/svc-16749 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | rev
clean up selected files in /srv/svc-16750
find /srv/svc-16750 -mindepth 1 -type f -name '*.log' -size +10M -exec ls -lh {} + | sort -n
extract JSON fields for svc-16751
jq '.metadata' /srv/svc-16751/config.json | awk '{print $1}'
list matching paths under /srv/svc-16752
find /srv/svc-16752 -type d -name '*.log' -mtime +30 -exec gzip {} + | cut -d: -f1
show the diff in /srv/svc-16753
git -C /srv/svc-16753 diff --color-words HEAD~2..HEAD -- | tail -n 5
search the svc-16754 directory tree
find /srv/svc-16754 -type l -empty -size +10M -delete | sort -n
clean up selected files in /srv/svc-16755
find /srv/svc-16755 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | head -n 20
query systemd status for svc-16756
systemctl disable svc-16756.socket --no-pager | head -n 10
list matching paths under /srv/svc-16757
find /srv/svc-16757 -mindepth 1 -type f -empty -newermt '1 day ago' -exec gzip {} + | column -t
find files under /srv/svc-16758
find /srv/svc-16758 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + 2>&1
filter JSON records for svc-16759
jq -e '.users[] | select(.active == true) | .email' /srv/svc-16759/config.json | uniq
count matches in svc-16760 data
grep -n -A3 -B3 'panic[(]' /srv/svc-16760 --include='*.go' | grep -v '^#'
locate matching files in /srv/svc-16761
find /srv/svc-16761 -type l -empty -size +50M -exec ls -lh {} + | tail -n 10
inspect branch and file status for /srv/svc-16762
git -C /srv/svc-16762 status --short | uniq
find files under /srv/svc-16763
find /srv/svc-16763 -mindepth 1 -type f -empty -mtime +7 -delete | grep -i warn
sort svc-16764 files with custom fields
sort -n /srv/svc-16764/numbers.txt | awk '{print $1}'
summarize text columns for svc-16765
awk -F: '$3 > 100 {print $1}' /srv/svc-16765/data.csv | sort -u
split svc-16766 records by delimiter
cut -d: -f1 /etc/passwd | cat | tee /tmp/svc-16766.out | head -n 20
read journal entries for svc-16767
journalctl --since 'today' -n 50 --output=short-iso | sort -k2 | tee /tmp/svc-16767.out | head -n 20
query systemd status for svc-16768
systemctl disable svc-16768.service | head -n 20
replace values in svc-16769 files
sed -i.bak '/start/,/end/p' /etc/svc-16769/config.yml | sort -nr
display docker container details for svc-16770
docker ps -aq --format '{{.ID}} {{.Image}}' | grep -i warn | tee /tmp/svc-16770.out | head -n 20
find matching lines for svc-16771
grep -v 'ERROR' /var/log/svc-16771.log --include='*.py' | sort -n
list matching paths under /srv/svc-16772
find /srv/svc-16772 -maxdepth 2 -type f -name '*.conf' -delete | sort -u
query JSON data for svc-16773
jq -S 'map(select(.status == "failed")) | length' /srv/svc-16773/data.json | sed -n '1,20p'
filter JSON records for svc-16774
jq --indent 2 '.items[] | .name' /srv/svc-16774/users.json | tr -s ' '
count matches in svc-16775 data
grep -RIn 'FIXME' /srv/svc-16775 --include='*.py' | cat
list git history for /srv/svc-16776
git -C /srv/svc-16776 log --name-status -n 20 --decorate | uniq -c
pretty-print JSON for svc-16777
jq -e '.metadata' /srv/svc-16777/data.json | uniq
process log fields for svc-16778
awk -F: '{print $1}' /etc/passwd | sort -u | tee /tmp/svc-16778.out | head -n 20
inspect systemd unit state for svc-16779
systemctl reload svc-16779.service | paste -sd, -
read container logs for svc-16780
docker logs --tail 500 --timestamps svc-16780 | grep -i error | less
read journal entries for svc-16781
journalctl -u svc-16781.service --until '1 hour ago' --output=short-iso | grep -i error