prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-01582
journalctl -u svc-01582.service --since '24 hours ago' -n 50 --output=short-iso | tr -s ' '
show running containers for svc-01583
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | cat | tee /tmp/svc-01583.out | head -n 20
read container logs for svc-01584
docker logs --since '1h' --timestamps svc-01584 | grep -i error | tee -a /tmp/svc-01584.log
measure the size of svc-01585 data
wc -l /etc/passwd | paste -sd, - | tee /tmp/svc-01585.out | head -n 20
locate matching files in /srv/svc-01586
find /srv/svc-01586 -type f -name '*.gz' -size +50M -delete | tail -n 5
inspect branch and file status for /srv/svc-01587
git -C /srv/svc-01587 status --porcelain=v2 --show-stash --untracked-files=all | rev
find files under /srv/svc-01588
find /srv/svc-01588 -type f -name '*.log' -newermt '1 day ago' -print | column -t
filter log content for svc-01589
grep -Rn 'panic[(]' /srv/svc-01589 --include='*.yaml' | awk '{print $2}'
summarize git differences for /srv/svc-01590
git -C /srv/svc-01590 diff --color-words HEAD~1..HEAD 2>&1 | tee /tmp/svc-01590.log
compare revisions in /srv/svc-01591
git -C /srv/svc-01591 diff --color-words --cached config/ | sort -nr
list matching paths under /srv/svc-01592
find /srv/svc-01592 -type d -name '*.log' -exec ls -lh {} + | tee /tmp/svc-01592.out
find files under /srv/svc-01593
find /srv/svc-01593 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
filter log content for svc-01594
grep -RIn 'ERROR' /var/log/svc-01594.log | less
create a backup tarball for svc-01595
tar -xzf /backup/svc-01595.tar.gz -C /tmp --strip-components=1 | column -t
find matching lines for svc-01596
grep -RIn 'FIXME' /srv/svc-01596 --include='*.yaml' | sort -k2
list matching paths under /srv/svc-01597
find /srv/svc-01597 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
transfer svc-01598 data with rsync
rsync -avz --exclude='*.log' /srv/svc-01598/ backup@host:/backups/svc-01598/ | sed 's/^/ /'
search the svc-01599 directory tree
find /srv/svc-01599 -type d -name '*.tmp' -size +10M -print | grep -E '^[^#]'
save a commit message for /srv/svc-01600
git -C /srv/svc-01600 commit -m 'chore: update config' --signoff 2>/dev/null
locate matching files in /srv/svc-01601
find /srv/svc-01601 -maxdepth 2 -type f -name '*.conf' -print | cat
inspect pending changes in /srv/svc-01602
git -C /srv/svc-01602 diff --color-words --cached config/ | sort -k2
show the diff in /srv/svc-01603
git -C /srv/svc-01603 diff --check HEAD~2..HEAD config/ | grep -i warn
search the svc-01604 directory tree
find /srv/svc-01604 -mindepth 1 -type f -name '*.conf' -size +10M -delete | uniq -c
print a git log summary for /srv/svc-01605
git -C /srv/svc-01605 log --stat -n 10 --all | tail -n 5
extract JSON fields for svc-01606
jq -e '.metadata' /srv/svc-01606/health.json | grep -v '^#'
inspect recent changes in /srv/svc-01607
git -C /srv/svc-01607 log --graph --oneline -n 20 --grep='fix' | sed -n '1,20p'
inspect process matches for svc-01608
pgrep -P 1 -f svc-01608 | tail -n 10
filter JSON records for svc-01609
jq --indent 2 '.items[] | select(.id == 1609) | .name' /srv/svc-01609/data.json
clean up selected files in /srv/svc-01610
find /srv/svc-01610 -type f -name '*.json' -mtime +7 -exec ls -lh {} + >> /tmp/svc-01610.out
extract JSON fields for svc-01611
jq '.items[] | select(.id == 1611) | .name' /srv/svc-01611/users.json | cut -d, -f1
find processes using svc-01612 files
lsof -i :21612 -sTCP:LISTEN | grep svc-01612 | tail -n 5
find files under /srv/svc-01613
find /srv/svc-01613 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | cat
search the svc-01614 directory tree
find /srv/svc-01614 -mindepth 1 -type f -name '*.json' -delete | tee -a /tmp/svc-01614.log
show running containers for svc-01615
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-01615' || true
locate matching files in /srv/svc-01616
find /srv/svc-01616 -maxdepth 2 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
list matching paths under /srv/svc-01617
find /srv/svc-01617 -type d -name '*.tmp' -print | sort -n
find files under /srv/svc-01618
find /srv/svc-01618 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | rev
search the svc-01619 directory tree
find /srv/svc-01619 -type d -empty -size +50M -exec ls -lh {} + 2>&1
sort svc-01620 files with custom fields
sort -t, -k3,3nr /srv/svc-01620/scores.csv | head -n 10 | tail -n 50
find matching lines for svc-01621
grep -Rn 'secret' /etc/svc-01621 --exclude='*.min.js' | tac
inspect pending changes in /srv/svc-01622
git -C /srv/svc-01622 diff --name-only HEAD~2..HEAD src/ | cat
find files under /srv/svc-01623
find /srv/svc-01623 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print | sort -n
search the svc-01624 directory tree
find /srv/svc-01624 -type f -name '*.log' -exec ls -lh {} + | head -n 50
download svc-01625 data with curl
curl -fsS -X POST -H 'Content-Type: application/json' -d '{"id":1625}' http://127.0.0.1:21625/svc-01625/api/items | sort -k2
display the working tree state in /srv/svc-01626
git -C /srv/svc-01626 status --long --branch --untracked-files=all | grep -i warn
list matching paths under /srv/svc-01627
find /srv/svc-01627 -type d -name '*.json' -print | wc -l
clean up svc-01628 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-01628/config.ini | grep -i warn
search the svc-01629 directory tree
find /srv/svc-01629 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | head -n 20
save a commit message for /srv/svc-01630
git -C /srv/svc-01630 commit --amend --no-edit | column -t
inspect systemd unit state for svc-01631
systemctl disable svc-01631.socket || true
scan configuration files for svc-01632
grep -c 'WARN' /var/log/svc-01632.log --include='*.go' | awk '{print $2}'
query JSON data for svc-01633
jq -c '.items[] | .name' /srv/svc-01633/jobs.json 2>&1 | tee /tmp/svc-01633.log
search the svc-01634 directory tree
find /srv/svc-01634 -type l -empty -size +10M -print | sed 's/^/ /'
clean up selected files in /srv/svc-01635
find /srv/svc-01635 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + | tee /tmp/svc-01635.out
locate matching files in /srv/svc-01636
find /srv/svc-01636 -type d -name '*.conf' -newermt '1 day ago' -delete | sort -nr
list matching paths under /srv/svc-01637
find /srv/svc-01637 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | nl -ba
query journal history for svc-01638
journalctl -u svc-01638.service --since '1 hour ago' --no-pager
filter log content for svc-01639
grep -RIn 'ERROR' /var/log/svc-01639.log --include='*.yaml' | tee -a /tmp/svc-01639.log
clean up selected files in /srv/svc-01640
find /srv/svc-01640 -type f -name '*.log' -size +50M -exec gzip {} + | column -t
compare revisions in /srv/svc-01641
git -C /srv/svc-01641 diff --numstat HEAD~2..HEAD config/ | sort -u
transfer svc-01642 data with rsync
rsync -av --bwlimit=5000 /srv/svc-01642/ backup@host:/backups/svc-01642/ > /tmp/svc-01642.out
show running containers for svc-01643
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' > /tmp/svc-01643.out
search the svc-01644 directory tree
find /srv/svc-01644 -type f -name '*.conf' -size +10M -exec gzip {} + | column -t
summarize git differences for /srv/svc-01645
git -C /srv/svc-01645 diff --name-status HEAD~2..HEAD src/ | sort -n
compare revisions in /srv/svc-01646
git -C /srv/svc-01646 diff --name-only --cached | tail -n 5
stream pod logs for svc-01647
kubectl logs -l app=svc-01647 --tail=100 | paste -sd, -
find files under /srv/svc-01648
find /srv/svc-01648 -type l -name '*.log' -size +10M -exec gzip {} + | awk '{print $1}'
display the commit log for /srv/svc-01649
git -C /srv/svc-01649 log --name-status -n 20 --grep='fix' | tail -n 5
count matches in svc-01650 data
grep -RIn 'timeout' /var/log/svc-01650.log --exclude-dir=vendor | uniq
read journal entries for svc-01651
journalctl -u svc-01651.service -n 500 | tac
scan configuration files for svc-01652
grep -RIn 'FIXME' /srv/svc-01652 --include='*.py' | rev
show the diff in /srv/svc-01653
git -C /srv/svc-01653 diff --stat HEAD~2..HEAD -- | sort -n
query journal history for svc-01654
journalctl --since 'today' --output=short-iso | tee /tmp/svc-01654.out
display recent container output for svc-01655
docker logs --since '24h' svc-01655 | sort -k2
compare revisions in /srv/svc-01656
git -C /srv/svc-01656 diff --name-only src/ | nl -ba
list matching paths under /srv/svc-01657
find /srv/svc-01657 -type d -name '*.conf' -mtime +7 -print 2>&1
search text for svc-01658
grep -n -A3 -B3 'panic[(]' /srv/svc-01658 --exclude-dir=vendor | column -t
search the svc-01659 directory tree
find /srv/svc-01659 -type d -name '*.log' -size +50M -exec gzip {} + | paste -sd, -
query journal history for svc-01660
journalctl -u svc-01660.service --since '1 hour ago' -n 500 -f | head -n 5
list git history for /srv/svc-01661
git -C /srv/svc-01661 log --stat -n 10 --since='1 week ago' | sort -n
inspect pending changes in /srv/svc-01662
git -C /srv/svc-01662 diff --name-status HEAD~1..HEAD src/ | tail -n 50
find files under /srv/svc-01663
find /srv/svc-01663 -type l -name '*.log' -mtime +30 -exec ls -lh {} + | tee /tmp/svc-01663.out
search the svc-01664 directory tree
find /srv/svc-01664 -maxdepth 2 -type f -name '*.gz' -print | tee /tmp/svc-01664.out
clean up selected files in /srv/svc-01665
find /srv/svc-01665 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 || true
render the svc-01666 chart
helm template svc-01666 ./chart -n svc-01666 | fold -w 120
inspect branch and file status for /srv/svc-01667
git -C /srv/svc-01667 status --porcelain=v1 --show-stash --untracked-files=all | sed 's/^/ /'
search text for svc-01668
grep -c 'secret' /etc/svc-01668 --exclude='*.min.js' | head -n 20
copy application data for svc-01669
rsync -av --include='*.conf' --exclude='*' /srv/svc-01669/ backup@host:/backups/svc-01669/ | nl -ba
clean up selected files in /srv/svc-01670
find /srv/svc-01670 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + | sort -k2
extract JSON fields for svc-01671
jq '.status == "ok"' /srv/svc-01671/users.json | sort -n
install svc-01672 from source
make -C /srv/svc-01672 lint | paste -sd, -
find files under /srv/svc-01673
find /srv/svc-01673 -mindepth 1 -type f -name '*.json' -size +10M -print | cut -d: -f1
process log fields for svc-01674
awk 'NR > 1 {print $2}' /srv/svc-01674/users.csv | tail -n 50
test TCP connectivity for svc-01675
nc -zv -w 2 svc-01675.example.com 21675 | grep -v '^#'
locate matching files in /srv/svc-01676
find /srv/svc-01676 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | sort -n
show directory sizes for svc-01677
du -sh /var/log/svc-01677 | head -n 10
search text for svc-01678
grep -RInE 'panic[(]' /srv/svc-01678 --exclude='*.min.js' | tail -n 50
filter JSON records for svc-01679
jq -c '.metadata' /srv/svc-01679/data.json 2>&1 | tee /tmp/svc-01679.log
query systemd status for svc-01680
systemctl disable svc-01680.timer --no-block | grep -v '^#'
replace values in svc-01681 files
sed -i.bak 's/^#*Port .*/Port 21681/' /etc/svc-01681/sshd_config | sort -k2