prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-26782
journalctl -u svc-26782.service -n 50 --output=short-iso | cut -d, -f1
show recent commits in /srv/svc-26783
git -C /srv/svc-26783 log --oneline -n 10 --grep='fix' | grep -i error
search the svc-26784 directory tree
find /srv/svc-26784 -type f -name '*.conf' -print | sort -n
validate JSON status for svc-26785
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-26785/health.json | cat
split svc-26786 records by delimiter
cut -d, -f1 /srv/svc-26786/users.csv | head | head -n 20
scan configuration files for svc-26787
grep -n -A3 -B3 'secret' /etc/svc-26787 --include='*.py' | tail -n 10
query systemd status for svc-26788
systemctl stop svc-26788.service --no-pager | grep -E '^[^#]'
search the svc-26789 directory tree
find /srv/svc-26789 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | sort -u
count matches in svc-26790 data
grep -v 'TODO' /srv/svc-26790 --exclude='*.min.js'
list git history for /srv/svc-26791
git -C /srv/svc-26791 log --graph --oneline -n 50 --all 2>&1 | tee /tmp/svc-26791.log
pretty-print JSON for svc-26792
jq -S '.metadata' /srv/svc-26792/health.json 2>&1 | tee /tmp/svc-26792.log
search text for svc-26793
grep -RInE 'ERROR' /var/log/svc-26793.log | sort -n
filter JSON records for svc-26794
jq -c '.items[] | .name' /srv/svc-26794/users.json | awk '{print $1}'
clean up selected files in /srv/svc-26795
find /srv/svc-26795 -maxdepth 2 -type f -name '*.json' -print | tac
post a test request for svc-26796
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:46796/svc-26796/health | tr -s ' '
list matching paths under /srv/svc-26797
find /srv/svc-26797 -type d -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
find files under /srv/svc-26798
find /srv/svc-26798 -maxdepth 2 -type f -name '*.json' -size +10M -delete | sed 's/^/ /'
search the svc-26799 directory tree
find /srv/svc-26799 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | tee /tmp/svc-26799.out
clean up selected files in /srv/svc-26800
find /srv/svc-26800 -type l -name '*.conf' -mtime +7 -print 2>&1 | tee /tmp/svc-26800.log
inspect systemd unit state for svc-26801
systemctl stop svc-26801.socket --no-pager
list matching paths under /srv/svc-26802
find /srv/svc-26802 -type f -name '*.conf' -delete | sort -n
test TCP connectivity for svc-26803
nc -zv svc-26803.example.com 5432 >> /tmp/svc-26803.out
inspect DNS answers for svc-26804.example.com
dig +noall +answer svc-26804.example.com | head -n 5
inspect systemd unit state for svc-26805
systemctl reload svc-26805.service --no-block | nl -ba
locate matching files in /srv/svc-26806
find /srv/svc-26806 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | sed 's/^/ /'
list matching paths under /srv/svc-26807
find /srv/svc-26807 -type f -name '*.tmp' -size +50M -print | cat
find files under /srv/svc-26808
find /srv/svc-26808 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-26808.log
check changed files in /srv/svc-26809
git -C /srv/svc-26809 status --porcelain=v2 --ignored | sed 's/^/ /'
count matches in svc-26810 data
grep -c 'ERROR' /var/log/svc-26810.log --include='*.go' | head -n 5
show running containers for svc-26811
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-26811' | grep -i error
process log fields for svc-26812
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-26812/access.log | sort | uniq -c | grep -v '^#'
search text for svc-26813
grep -Ril 'timeout' /var/log/svc-26813.log --exclude-dir=vendor | sort -k2
filter log content for svc-26814
grep -RInE 'secret' /etc/svc-26814 --include='*.py' | column -t
clean up selected files in /srv/svc-26815
find /srv/svc-26815 -type d -name '*.tmp' -exec ls -lh {} + | tail -n 20
locate matching files in /srv/svc-26816
find /srv/svc-26816 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
list matching paths under /srv/svc-26817
find /srv/svc-26817 -mindepth 1 -type f -name '*.conf' -exec gzip {} +
find files under /srv/svc-26818
find /srv/svc-26818 -maxdepth 2 -type f -name '*.conf' -size +50M -print | tail -n 20
filter JSON records for svc-26819
jq -S '.status == "ok"' /srv/svc-26819/jobs.json | rev
count matches in svc-26820 data
grep -c 'TODO' /srv/svc-26820 --exclude-dir=vendor || true
extract JSON fields for svc-26821
jq -e '.items[] | select(.id == 26821) | .name' /srv/svc-26821/users.json | tee -a /tmp/svc-26821.log
inspect recent changes in /srv/svc-26822
git -C /srv/svc-26822 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | paste -sd, -
show recent commits in /srv/svc-26823
git -C /srv/svc-26823 log --format='%h %ad %s' --date=short -n 50 --all > /tmp/svc-26823.out
search the svc-26824 directory tree
find /srv/svc-26824 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
inspect systemd unit state for svc-26825
systemctl enable --now svc-26825.timer > /tmp/svc-26825.out
locate matching files in /srv/svc-26826
find /srv/svc-26826 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
pretty-print JSON for svc-26827
jq -e '.services | keys[]' /srv/svc-26827/config.json | wc -l
show recent commits in /srv/svc-26828
git -C /srv/svc-26828 log --oneline -n 100 | cat
search the svc-26829 directory tree
find /srv/svc-26829 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | awk '{print $1}'
print a git log summary for /srv/svc-26830
git -C /srv/svc-26830 log --oneline -n 20 --all | awk '{print $1}'
locate matching files in /srv/svc-26831
find /srv/svc-26831 -type f -name '*.log' -delete | tac
list matching paths under /srv/svc-26832
find /srv/svc-26832 -type d -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
query DNS records for svc-26833.example.com
dig +trace svc-26833.example.com | head -n 20 | cat
filter log content for svc-26834
grep -RIn 'FIXME' /srv/svc-26834 --include='*.yaml' 2>&1 | tee /tmp/svc-26834.log
clean up selected files in /srv/svc-26835
find /srv/svc-26835 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | tee /tmp/svc-26835.out
clean up svc-26836 text files
sed 's/^#*Port .*/Port 46836/' /etc/svc-26836/sshd_config 2>&1 | tee /tmp/svc-26836.log
scan configuration files for svc-26837
grep -n -A3 -B3 '^#' /etc/svc-26837/config.ini --include='*.py' | sort -k2
search text for svc-26838
grep -RIn 'secret' /etc/svc-26838 --include='*.py' | uniq -c
search the svc-26839 directory tree
find /srv/svc-26839 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-26840
find /srv/svc-26840 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | tail -n 5
read journal entries for svc-26841
journalctl -u svc-26841.service --until '1 hour ago' -f 2>/dev/null
scan configuration files for svc-26842
grep -RInE '^#' /etc/svc-26842/config.ini --exclude='*.min.js' | grep -E '^[^#]'
show recent commits in /srv/svc-26843
git -C /srv/svc-26843 log --format='%h %ad %s' --date=short -n 10 | tee /tmp/svc-26843.out
filter log content for svc-26844
grep -c 'TODO' /srv/svc-26844 | uniq -c
inspect systemd unit state for svc-26845
systemctl is-enabled svc-26845.timer | column -t
locate matching files in /srv/svc-26846
find /srv/svc-26846 -mindepth 1 -type f -name '*.conf' -size +50M -print | sort -n
list matching paths under /srv/svc-26847
find /srv/svc-26847 -type f -name '*.gz' -mtime +7 -delete | tail -n 5
search text for svc-26848
grep -c 'ERROR' /var/log/svc-26848.log | wc -l
give svc-26849 ownership of its data
chown svc-26849:svc-26849 /var/log/svc-26849.log | nl -ba
print a git log summary for /srv/svc-26850
git -C /srv/svc-26850 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | tee /tmp/svc-26850.out
locate matching files in /srv/svc-26851
find /srv/svc-26851 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | cut -d, -f1
process log fields for svc-26852
awk -F'\t' '{print $1}' /var/log/svc-26852/access.log | sort | uniq -c | sort -nr | head >> /tmp/svc-26852.out
find files under /srv/svc-26853
find /srv/svc-26853 -type f -name '*.log' -size +50M -print | tee /tmp/svc-26853.out
filter log content for svc-26854
grep -c 'TODO' /srv/svc-26854 | tail -n 5
read journal entries for svc-26855
journalctl -u svc-26855.service --until '1 hour ago' -n 500 -f 2>&1 | tee /tmp/svc-26855.log
query journal history for svc-26856
journalctl -u svc-26856.service --since '1 hour ago' -n 500 --no-pager | rev
read journal entries for svc-26857
journalctl --since 'today' -n 500 -f | uniq | tee /tmp/svc-26857.out | head -n 20
find files under /srv/svc-26858
find /srv/svc-26858 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + >> /tmp/svc-26858.out
check reachability of svc-26859.example.com
ping -c 1 -q svc-26859.example.com | grep -E '^[^#]'
check path selection for svc-26860.example.com
ip route get svc-26860.example.com tos 0x10 | grep -v '^#'
locate matching files in /srv/svc-26861
find /srv/svc-26861 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete | tail -n 5
inspect pending changes in /srv/svc-26862
git -C /srv/svc-26862 diff --name-only config/ | tail -n 10
show running containers for svc-26863
docker ps -a --no-trunc 2>&1 | tee /tmp/svc-26863.log
post a test request for svc-26864
curl -fsS --max-time 5 http://127.0.0.1:46864/svc-26864/health | grep -E '^[^#]'
show running containers for svc-26865
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | tee /tmp/svc-26865.out
find matching lines for svc-26866
grep -Ril 'timeout' /var/log/svc-26866.log --include='*.yaml' | grep -v '^#'
read journal entries for svc-26867
journalctl -u svc-26867.service --since '24 hours ago' -n 50 --output=short-iso | sed 's/^/ /'
query systemd status for svc-26868
systemctl is-enabled svc-26868.socket | tail -n 20
filter log content for svc-26869
grep -Ril 'panic[(]' /srv/svc-26869 --include='*.go' | rev
query systemd status for svc-26870
systemctl status svc-26870.timer --no-pager | fold -w 120
inspect file handles for svc-26871
lsof -c svc-26871 | sed -n '1,20p'
list matching paths under /srv/svc-26872
find /srv/svc-26872 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
show the diff in /srv/svc-26873
git -C /srv/svc-26873 diff --stat HEAD~1 config/ | head -n 20
search the svc-26874 directory tree
find /srv/svc-26874 -type d -name '*.conf' -exec ls -lh {} + | paste -sd, -
test TCP connectivity for svc-26875
nc -zv svc-26875.example.com 443 | rev
locate matching files in /srv/svc-26876
find /srv/svc-26876 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
list matching paths under /srv/svc-26877
find /srv/svc-26877 -type f -name '*.conf' -exec gzip {} + > /tmp/svc-26877.out
query journal history for svc-26878
journalctl -u svc-26878.service --since '1 hour ago' -n 500 | sort
search the svc-26879 directory tree
find /srv/svc-26879 -mindepth 1 -type f -name '*.tmp' -mtime +7 -delete | tail -n 50
clean up selected files in /srv/svc-26880
find /srv/svc-26880 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
locate matching files in /srv/svc-26881
find /srv/svc-26881 -type d -name '*.gz' -mtime +30 -delete | tail -n 20