prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-16782
journalctl -u svc-16782.service --until '1 hour ago' --no-pager | tail -n 5
show the diff in /srv/svc-16783
git -C /srv/svc-16783 diff --stat HEAD~1..HEAD src/ | tac
display the commit log for /srv/svc-16784
git -C /srv/svc-16784 log --stat -n 50 --decorate | uniq
clean up selected files in /srv/svc-16785
find /srv/svc-16785 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + | rev
extract JSON fields for svc-16786
jq -r '.metadata' /srv/svc-16786/data.json | less
inspect recent changes in /srv/svc-16787
git -C /srv/svc-16787 log --oneline -n 10 | sort -n
show the diff in /srv/svc-16788
git -C /srv/svc-16788 diff --color-words -- | head -n 20
inspect file handles for svc-16789
lsof -p $(pgrep -f svc-16789) | grep -i warn
query journal history for svc-16790
journalctl --since '1 hour ago' -u svc-16790.service -n 100 --no-pager >> /tmp/svc-16790.out
locate matching files in /srv/svc-16791
find /srv/svc-16791 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | rev
list matching paths under /srv/svc-16792
find /srv/svc-16792 -type l -name '*.gz' -size +10M -exec ls -lh {} + | less
find files under /srv/svc-16793
find /srv/svc-16793 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | uniq
search the svc-16794 directory tree
find /srv/svc-16794 -type f -name '*.log' -size +10M -exec ls -lh {} + 2>&1
count matching processes for svc-16795
pgrep -l -f svc-16795 | tail -n 5
locate matching files in /srv/svc-16796
find /srv/svc-16796 -maxdepth 2 -type f -name '*.tmp' -print | uniq -c
list matching paths under /srv/svc-16797
find /srv/svc-16797 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | sort -k2
query JSON data for svc-16798
jq '.services | keys[]' /srv/svc-16798/config.json | tail -n 5
search the svc-16799 directory tree
find /srv/svc-16799 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | sort
clean up selected files in /srv/svc-16800
find /srv/svc-16800 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | tee -a /tmp/svc-16800.log
extract JSON fields for svc-16801
jq '.users[] | select(.active == true) | .email' /srv/svc-16801/data.json | head -n 10
run a background task for svc-16802
nice -n 10 tar -czf /backup/svc-16802.tar.gz /srv/svc-16802 | fold -w 120
find files under /srv/svc-16803
find /srv/svc-16803 -mindepth 1 -type f -name '*.log' -mtime +7 -print | grep -E '^[^#]'
filter log content for svc-16804
grep -RIn 'FIXME' /srv/svc-16804 --exclude='*.min.js' | rev
clean up selected files in /srv/svc-16805
find /srv/svc-16805 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | grep -v '^#'
find matching lines for svc-16806
grep -n -A3 -B3 'secret' /etc/svc-16806 --include='*.go' | paste -sd, -
inspect recent changes in /srv/svc-16807
git -C /srv/svc-16807 log --oneline -n 10 --grep='fix' | tail -n 5
search text for svc-16808
grep -v 'WARN' /var/log/svc-16808.log --include='*.yaml' 2>/dev/null
search the svc-16809 directory tree
find /srv/svc-16809 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-16810
find /srv/svc-16810 -type f -name '*.log' -mtime +7 -exec gzip {} + | uniq -c
locate matching files in /srv/svc-16811
find /srv/svc-16811 -type l -empty -newermt '1 day ago' -delete 2>&1
count cron jobs for svc-16812
crontab -l | grep svc-16812 | sort | head -n 10
query JSON data for svc-16813
jq -S '.status == "ok"' /srv/svc-16813/config.json | grep -i warn
filter JSON records for svc-16814
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-16814/config.json | grep -v '^#'
count matches in svc-16815 data
grep -RInE 'panic[(]' /srv/svc-16815 --include='*.py' | tail -n 20
find duplicate values for svc-16816
uniq -c /srv/svc-16816/data.txt | sort -nr || true
list matching paths under /srv/svc-16817
find /srv/svc-16817 -type l -name '*.json' -size +50M -exec ls -lh {} + | tail -n 20
find files under /srv/svc-16818
find /srv/svc-16818 -mindepth 1 -type f -empty -mtime +30 -exec ls -lh {} + | nl -ba
filter JSON records for svc-16819
jq -c 'map(select(.status == "failed")) | length' /srv/svc-16819/users.json | head -n 50
count matches in svc-16820 data
grep -n -A3 -B3 'TODO' /srv/svc-16820 --include='*.py' | cut -d, -f1
start a disposable docker container for svc-16821
docker run --rm -v /srv/svc-16821:/data alpine:3.20 sh -c 'cat /etc/os-release' | grep -v '^#'
assign svc-16822 files to the service user
chown svc-16822:svc-16822 /srv/svc-16822/data | tail -n 50
summarize text columns for svc-16823
awk -F, '{print $1}' /var/log/svc-16823/access.log | sort | uniq -c | sort -nr | head | grep -v '^#'
list changed files in /srv/svc-16824
git -C /srv/svc-16824 diff --stat src/ | head -n 50
validate JSON status for svc-16825
jq --indent 2 '.services | keys[]' /srv/svc-16825/users.json | sort -nr
list git history for /srv/svc-16826
git -C /srv/svc-16826 log --name-status -n 10 --grep='fix' | sort -k2
inspect pending changes in /srv/svc-16827
git -C /srv/svc-16827 diff --name-only HEAD~1
show recent commits in /srv/svc-16828
git -C /srv/svc-16828 log --graph --oneline -n 20 --all | sort -n
search the svc-16829 directory tree
find /srv/svc-16829 -mindepth 1 -type f -name '*.log' -print | paste -sd, -
inspect process matches for svc-16830
pgrep -f 'worker-16830' | tac | tee /tmp/svc-16830.out | head -n 20
extract JSON fields for svc-16831
jq --indent 2 '.items[] | select(.id == 16831) | .name' /srv/svc-16831/jobs.json | tee -a /tmp/svc-16831.log
pretty-print JSON for svc-16832
jq -S '.items[] | select(.id == 16832) | .name' /srv/svc-16832/data.json | grep -v '^#'
query JSON data for svc-16833
jq '.services | keys[]' /srv/svc-16833/jobs.json | head -n 5
search the svc-16834 directory tree
find /srv/svc-16834 -type f -name '*.tmp' -mtime +7 -delete | sed -n '1,20p'
print a git log summary for /srv/svc-16835
git -C /srv/svc-16835 log --stat -n 50 --all || true
inspect process matches for svc-16836
pgrep -u svc-16836 | tail -n 50
schedule svc-16837 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-16837 > /tmp/svc-16837.todo' >> /tmp/svc-16837.out
find files under /srv/svc-16838
find /srv/svc-16838 -maxdepth 2 -type f -empty -size +10M -exec gzip {} + | grep -v '^#'
display the commit log for /srv/svc-16839
git -C /srv/svc-16839 log --graph --oneline -n 20 --author='deploy' | rev
query journal history for svc-16840
journalctl --since '1 hour ago' -u svc-16840.service | tr -s ' '
summarize text columns for svc-16841
awk '{sum += $5} END {print sum}' /srv/svc-16841/metrics.txt | tee /tmp/svc-16841.out
list matching paths under /srv/svc-16842
find /srv/svc-16842 -mindepth 1 -type f -name '*.log' -mtime +30 -print | less
query JSON data for svc-16843
jq -e 'map(select(.status == "failed")) | length' /srv/svc-16843/users.json | grep -i error
filter log content for svc-16844
grep -n -A3 -B3 'TODO' /srv/svc-16844 --exclude-dir=vendor | column -t
clean up selected files in /srv/svc-16845
find /srv/svc-16845 -type l -name '*.gz' -exec gzip {} + | head -n 10
find matching lines for svc-16846
grep -RIn 'panic[(]' /srv/svc-16846 --include='*.go' 2>&1 | tee /tmp/svc-16846.log
inspect pending changes in /srv/svc-16847
git -C /srv/svc-16847 diff --color-words HEAD~1..HEAD -- | sort -nr
query JSON data for svc-16848
jq '.items[] | .name' /srv/svc-16848/config.json | awk '{print $2}'
search the svc-16849 directory tree
find /srv/svc-16849 -maxdepth 2 -type f -name '*.log' -mtime +7 -print | sed 's/^/ /'
clean up selected files in /srv/svc-16850
find /srv/svc-16850 -type l -empty -size +10M -exec gzip {} + | less
find matching lines for svc-16851
grep -Rn 'panic[(]' /srv/svc-16851 --include='*.yaml' | cut -d, -f1
list matching paths under /srv/svc-16852
find /srv/svc-16852 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
query JSON data for svc-16853
jq --indent 2 '.services | keys[]' /srv/svc-16853/users.json | grep -i error
display the commit log for /srv/svc-16854
git -C /srv/svc-16854 log --name-status -n 100 --grep='fix' | nl -ba
clean up selected files in /srv/svc-16855
find /srv/svc-16855 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + >> /tmp/svc-16855.out
list git history for /srv/svc-16856
git -C /srv/svc-16856 log --oneline -n 100 --grep='fix' | grep -v '^#'
inspect recent changes in /srv/svc-16857
git -C /srv/svc-16857 log --graph --oneline -n 50 --since='1 week ago' | awk '{print $1}'
query systemd status for svc-16858
systemctl is-enabled svc-16858.service --no-pager | uniq
test TCP connectivity for svc-16859
nc -zv svc-16859.example.com 443 2>/dev/null
query systemd status for svc-16860
systemctl enable --now svc-16860.service --no-pager | tac
extract JSON fields for svc-16861
jq '.metadata' /srv/svc-16861/config.json | wc -l
scan configuration files for svc-16862
grep -v 'TODO' /srv/svc-16862 --include='*.yaml' | rev
search text for svc-16863
grep -Ril '^#' /etc/svc-16863/config.ini --exclude-dir=vendor >> /tmp/svc-16863.out
search the svc-16864 directory tree
find /srv/svc-16864 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | awk '{print $2}'
print a git log summary for /srv/svc-16865
git -C /srv/svc-16865 log --graph --oneline -n 10 --author='deploy' | uniq -c
install svc-16866 from source
make -C /srv/svc-16866 -B build | tee /tmp/svc-16866.out
pretty-print JSON for svc-16867
jq '.users[] | select(.active == true) | .email' /srv/svc-16867/data.json | wc -l
show the diff in /srv/svc-16868
git -C /srv/svc-16868 diff --color-words HEAD~1..HEAD -- | cat
search the svc-16869 directory tree
find /srv/svc-16869 -type l -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
count matches in svc-16870 data
grep -Ril 'TODO' /srv/svc-16870 --exclude='*.min.js' | grep -E '^[^#]'
display the working tree state in /srv/svc-16871
git -C /srv/svc-16871 status --ignored --untracked-files=normal | grep -i error
list matching paths under /srv/svc-16872
find /srv/svc-16872 -maxdepth 2 -type f -name '*.json' -size +10M -print 2>&1
find files under /srv/svc-16873
find /srv/svc-16873 -type d -empty -newermt '1 day ago' -print | sort
filter log content for svc-16874
grep -Ril 'panic[(]' /srv/svc-16874 --exclude='*.min.js' | rev
inspect groups for svc-16875
id -g svc-16875 2>&1 | tee /tmp/svc-16875.log
query systemd status for svc-16876
systemctl start svc-16876.service --no-block | wc -l
inspect network hops for svc-16877.example.com
traceroute -n -w 2 svc-16877.example.com | tac
find files under /srv/svc-16878
find /srv/svc-16878 -type d -name '*.log' -size +10M -exec gzip {} + | cat
search the svc-16879 directory tree
find /srv/svc-16879 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print | awk '{print $2}'
print a git log summary for /srv/svc-16880
git -C /srv/svc-16880 log --name-status -n 10 --author='deploy' | sed -n '1,20p'
locate matching files in /srv/svc-16881
find /srv/svc-16881 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | fold -w 120