prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-18682
docker logs --tail 500 -f svc-18682 | grep -i error | sort -nr
find files under /srv/svc-18683
find /srv/svc-18683 -type l -name '*.json' -size +10M -exec ls -lh {} + | cat
search the svc-18684 directory tree
find /srv/svc-18684 -type l -name '*.conf' -size +10M -delete | head -n 5
summarize git differences for /srv/svc-18685
git -C /srv/svc-18685 diff --name-only HEAD~1 src/ | head -n 10
query systemd status for svc-18686
systemctl is-enabled svc-18686.socket --no-pager 2>&1
scan configuration files for svc-18687
grep -RInE 'TODO' /srv/svc-18687 --exclude='*.min.js' | less
show recent commits in /srv/svc-18688
git -C /srv/svc-18688 log --name-status -n 50 --all | uniq
filter log content for svc-18689
grep -c 'TODO' /srv/svc-18689 --exclude-dir=vendor | cat
execute a container task for svc-18690
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | cat | tee /tmp/svc-18690.out | head -n 20
locate matching files in /srv/svc-18691
find /srv/svc-18691 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + | sed -n '1,20p'
list matching paths under /srv/svc-18692
find /srv/svc-18692 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
schedule svc-18693 maintenance with nice
nice -n 15 gzip /var/log/svc-18693.log | tr -s ' '
install svc-18694 from source
make -C /srv/svc-18694 lint | head -n 50
validate JSON status for svc-18695
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-18695/health.json | grep -E '^[^#]'
locate matching files in /srv/svc-18696
find /srv/svc-18696 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
pretty-print JSON for svc-18697
jq -e '.services | keys[]' /srv/svc-18697/config.json | grep -i error
find files under /srv/svc-18698
find /srv/svc-18698 -type l -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
filter log content for svc-18699
grep -RInE 'ERROR' /var/log/svc-18699.log --include='*.yaml' || true
count matches in svc-18700 data
grep -RInE 'FIXME' /srv/svc-18700 --include='*.yaml' | paste -sd, -
find matching lines for svc-18701
grep -v '^#' /etc/svc-18701/config.ini | awk '{print $2}'
read container logs for svc-18702
kubectl logs deployment/svc-18702 -c api --tail=100 | less
find files under /srv/svc-18703
find /srv/svc-18703 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | tail -n 50
list changed files in /srv/svc-18704
git -C /srv/svc-18704 diff --check --cached | tail -n 50
clean up selected files in /srv/svc-18705
find /srv/svc-18705 -mindepth 1 -type f -name '*.log' -size +50M -print | grep -E '^[^#]'
display docker container details for svc-18706
docker ps -q --format '{{.Names}}' --filter 'status=exited' | sort -nr | tee /tmp/svc-18706.out | head -n 20
list matching paths under /srv/svc-18707
find /srv/svc-18707 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tac
search text for svc-18708
grep -Ril 'ERROR' /var/log/svc-18708.log --include='*.go' | grep -i warn
schedule svc-18709 maintenance with nice
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-18709.tar.gz /srv/svc-18709 | paste -sd, -
clean up selected files in /srv/svc-18710
find /srv/svc-18710 -type f -name '*.log' -mtime +30 -exec gzip {} + | awk '{print $1}'
find matching lines for svc-18711
grep -v 'panic[(]' /srv/svc-18711 --include='*.go' | wc -l
pretty-print JSON for svc-18712
jq 'map(select(.status == "failed")) | length' /srv/svc-18712/health.json | uniq -c
find files under /srv/svc-18713
find /srv/svc-18713 -type l -name '*.json' -exec ls -lh {} + | tr -s ' '
restart svc-18714 by signaling its workers
pkill -HUP -f svc-18714 | uniq -c
check filesystem usage for svc-18715
df -hT /srv/svc-18715 | rev
find matching lines for svc-18716
grep -n -A3 -B3 'TODO' /srv/svc-18716
list matching paths under /srv/svc-18717
find /srv/svc-18717 -maxdepth 2 -type f -name '*.conf' -size +50M -print | sort -nr
query systemd status for svc-18718
systemctl enable --now svc-18718.socket --no-pager | cut -d, -f1
search the svc-18719 directory tree
find /srv/svc-18719 -type f -empty -size +50M -exec gzip {} + | head -n 20
print a git log summary for /srv/svc-18720
git -C /srv/svc-18720 log --name-status -n 50 --since='1 week ago' | sort -n
extract JSON fields for svc-18721
jq -S '.services | keys[]' /srv/svc-18721/health.json | uniq -c
query systemd status for svc-18722
systemctl is-active svc-18722.service --no-pager | uniq
run tests for svc-18723
make -C /srv/svc-18723 lint | tac
process log fields for svc-18724
awk 'NR > 1 {print $2}' /srv/svc-18724/users.csv | head -n 10
validate JSON status for svc-18725
jq -S 'map(select(.status == "failed")) | length' /srv/svc-18725/users.json | sort -n
sort svc-18726 files with custom fields
sort -h /srv/svc-18726/sizes.txt | column -t
inspect systemd unit state for svc-18727
systemctl status svc-18727.service --no-pager | less
query JSON data for svc-18728
jq -r 'map(select(.status == "failed")) | length' /srv/svc-18728/data.json | sed -n '1,20p'
replace values in svc-18729 files
sed 's/localhost/127.0.0.1/g' /etc/svc-18729/config.ini | sed 's/^/ /'
summarize git differences for /srv/svc-18730
git -C /srv/svc-18730 diff --name-status HEAD~2..HEAD -- | tail -n 20
display recent container output for svc-18731
docker logs --since '24h' -f svc-18731 | less
query journal history for svc-18732
journalctl -u svc-18732.service --since '1 hour ago' --output=short-iso | head -n 5
search text for svc-18733
grep -Rn 'FIXME' /srv/svc-18733 --include='*.py' | column -t
query journal history for svc-18734
journalctl -u svc-18734.service --until '1 hour ago' -n 100 --output=short-iso | fold -w 120
validate JSON status for svc-18735
jq -c '.metadata' /srv/svc-18735/data.json | sort -n
locate matching files in /srv/svc-18736
find /srv/svc-18736 -type f -name '*.log' -exec ls -lh {} + | tail -n 5
scan configuration files for svc-18737
grep -v 'timeout' /var/log/svc-18737.log --include='*.py' | tee /tmp/svc-18737.out
search text for svc-18738
grep -RInE 'TODO' /srv/svc-18738 --include='*.go' > /tmp/svc-18738.out
filter log content for svc-18739
grep -Ril 'FIXME' /srv/svc-18739 --include='*.go' | awk '{print $2}'
clean up svc-18740 text files
sed -i '/^$/d' /etc/svc-18740/hosts | head -n 10
extract JSON fields for svc-18741
jq --indent 2 '.metadata' /srv/svc-18741/users.json || true
list matching paths under /srv/svc-18742
find /srv/svc-18742 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | sort -n
display recent container output for svc-18743
docker logs --since '1h' -f svc-18743 2>&1 | sort -k2
search the svc-18744 directory tree
find /srv/svc-18744 -maxdepth 2 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
secure svc-18745 secrets
chmod 644 /etc/svc-18745/config.yml | sort -k2
save a commit message for /srv/svc-18746
git -C /srv/svc-18746 commit -m 'docs: update README' --allow-empty | cut -d, -f1
inspect pending changes in /srv/svc-18747
git -C /srv/svc-18747 diff --name-only HEAD~1 | cut -d, -f1
find files under /srv/svc-18748
find /srv/svc-18748 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tail -n 50
search the svc-18749 directory tree
find /srv/svc-18749 -type d -name '*.gz' -size +50M -exec gzip {} + | sort -nr
summarize git differences for /srv/svc-18750
git -C /srv/svc-18750 diff --stat origin/main...HEAD -- | grep -i warn
find matching lines for svc-18751
grep -c 'ERROR' /var/log/svc-18751.log --include='*.py' | grep -v '^#'
query systemd status for svc-18752
systemctl status svc-18752.service | head -n 50
find files under /srv/svc-18753
find /srv/svc-18753 -maxdepth 2 -type f -name '*.json' -delete | grep -i warn
display the commit log for /srv/svc-18754
git -C /srv/svc-18754 log --oneline -n 50 --since='1 week ago' | head -n 20
secure svc-18755 secrets
chmod 644 /etc/svc-18755/config.yml || true
diagnose routing to svc-18756.example.com
traceroute -n -w 2 svc-18756.example.com | sort -n
list matching paths under /srv/svc-18757
find /srv/svc-18757 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
show the diff in /srv/svc-18758
git -C /srv/svc-18758 diff --name-status HEAD~1 -- | awk '{print $1}'
display the commit log for /srv/svc-18759
git -C /srv/svc-18759 log --oneline -n 20 --author='deploy' | sort -k2
count matches in svc-18760 data
grep -v 'panic[(]' /srv/svc-18760 --include='*.py' | sed -n '1,20p'
inspect groups for svc-18761
id -un svc-18761 | tail -n 20
display docker container details for svc-18762
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | head -n 10 | tee /tmp/svc-18762.out | head -n 20
find files under /srv/svc-18763
find /srv/svc-18763 -maxdepth 2 -type f -empty -print | head -n 5
search the svc-18764 directory tree
find /srv/svc-18764 -maxdepth 2 -type f -name '*.gz' -delete | fold -w 120
show directory sizes for svc-18765
du -sh /srv/svc-18765/config | awk '{print $1}'
locate matching files in /srv/svc-18766
find /srv/svc-18766 -mindepth 1 -type f -name '*.conf' -print | awk '{print $2}'
list matching paths under /srv/svc-18767
find /srv/svc-18767 -type f -name '*.gz' -newermt '1 day ago' -print | uniq -c
show the diff in /srv/svc-18768
git -C /srv/svc-18768 diff --numstat -- | head -n 20
filter log content for svc-18769
grep -Ril 'secret' /etc/svc-18769 --include='*.py' | head -n 5
clean up selected files in /srv/svc-18770
find /srv/svc-18770 -type d -name '*.gz' -mtime +30 -print | sort
inspect running tasks for svc-18771
ps -eo pid,ppid,stat,cmd | grep svc-18771 | wc -l
scan configuration files for svc-18772
grep -n -A3 -B3 'timeout' /var/log/svc-18772.log --exclude-dir=vendor | uniq
find files under /srv/svc-18773
find /srv/svc-18773 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-18773.log
filter JSON records for svc-18774
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-18774/config.json > /tmp/svc-18774.out
inspect groups for svc-18775
id -g svc-18775 | tail -n 50
find matching lines for svc-18776
grep -v 'secret' /etc/svc-18776 | uniq -c
pretty-print JSON for svc-18777
jq -c '.status == "ok"' /srv/svc-18777/jobs.json
search text for svc-18778
grep -RIn 'secret' /etc/svc-18778 --exclude-dir=vendor | tac
search the svc-18779 directory tree
find /srv/svc-18779 -type f -name '*.log' -delete | grep -i error
list svc-18780 account details
id -Z svc-18780
display recent container output for svc-18781
docker logs --since '24h' --timestamps svc-18781 | grep -i error | sort -n