prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-27782
journalctl --since '1 hour ago' -u svc-27782.service -n 100 -f | tee -a /tmp/svc-27782.log
order svc-27783 data numerically
sort -u /srv/svc-27783/users.txt | sort -nr
find duplicate values for svc-27784
uniq -s 5 /var/log/svc-27784.log | fold -w 120
read journal entries for svc-27785
journalctl -u svc-27785.service -n 500 | column -t
locate matching files in /srv/svc-27786
find /srv/svc-27786 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
list matching paths under /srv/svc-27787
find /srv/svc-27787 -type d -empty -size +10M -exec gzip {} +
sort svc-27788 files with custom fields
sort -r /srv/svc-27788/names.txt 2>&1
summarize text columns for svc-27789
awk -F'\t' '{print $1}' /var/log/svc-27789/access.log | sort | uniq -c | sort -nr | head | grep -i warn
clean up selected files in /srv/svc-27790
find /srv/svc-27790 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + || true
locate matching files in /srv/svc-27791
find /srv/svc-27791 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | sort -n
pretty-print JSON for svc-27792
jq -r '.users[] | select(.active == true) | .email' /srv/svc-27792/config.json | grep -i warn
inspect groups for svc-27793
id -un svc-27793 | head -n 50
search the svc-27794 directory tree
find /srv/svc-27794 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
inspect network hops for svc-27795.example.com
traceroute -I svc-27795.example.com || true
extract JSON fields for svc-27796
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-27796/users.json | cat
pretty-print JSON for svc-27797
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-27797/data.json | tee /tmp/svc-27797.out
execute a container task for svc-27798
docker run --rm -d --network host alpine:3.20 du -sh /data | sort | tee /tmp/svc-27798.out | head -n 20
search the svc-27799 directory tree
find /srv/svc-27799 -mindepth 1 -type f -name '*.conf' -size +10M -delete | head -n 5
count matches in svc-27800 data
grep -n -A3 -B3 'FIXME' /srv/svc-27800 --include='*.py' | tr -s ' '
locate matching files in /srv/svc-27801
find /srv/svc-27801 -maxdepth 2 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
list matching paths under /srv/svc-27802
find /srv/svc-27802 -type d -name '*.log' -mtime +30 -print | column -t
query JSON data for svc-27803
jq -r '.items[] | select(.id == 27803) | .name' /srv/svc-27803/jobs.json | uniq -c
search the svc-27804 directory tree
find /srv/svc-27804 -mindepth 1 -type f -empty -mtime +30 -print | sed -n '1,20p'
clean up selected files in /srv/svc-27805
find /srv/svc-27805 -mindepth 1 -type f -name '*.gz' -size +10M -print 2>&1 | tee /tmp/svc-27805.log
locate matching files in /srv/svc-27806
find /srv/svc-27806 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | head -n 20
list matching paths under /srv/svc-27807
find /srv/svc-27807 -maxdepth 2 -type f -name '*.json' -size +50M -delete | sort -u
find files under /srv/svc-27808
find /srv/svc-27808 -maxdepth 2 -type f -name '*.log' -size +10M -delete | tail -n 5
filter JSON records for svc-27809
jq -c 'map(select(.status == "failed")) | length' /srv/svc-27809/jobs.json 2>&1
read container logs for svc-27810
docker logs --tail 50 --timestamps svc-27810 | grep -i error | head -n 50
find matching lines for svc-27811
grep -RInE 'ERROR' /var/log/svc-27811.log | sort -k2
inspect branch and file status for /srv/svc-27812
git -C /srv/svc-27812 status --porcelain=v1 --untracked-files=all | fold -w 120
find files under /srv/svc-27813
find /srv/svc-27813 -type f -name '*.tmp' -size +10M -exec gzip {} + | rev
clean up svc-27814 text files
sed '/^$/d' /etc/svc-27814/hosts 2>&1 | tee /tmp/svc-27814.log
clean up selected files in /srv/svc-27815
find /srv/svc-27815 -type l -name '*.log' -newermt '1 day ago' -delete | sort -nr
compare revisions in /srv/svc-27816
git -C /srv/svc-27816 diff --stat HEAD~1 -- | grep -v '^#'
list matching paths under /srv/svc-27817
find /srv/svc-27817 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
execute a container task for svc-27818
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | tee -a /tmp/svc-27818.log
search the svc-27819 directory tree
find /srv/svc-27819 -mindepth 1 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
diagnose routing to svc-27820.example.com
traceroute -n -m 10 svc-27820.example.com 2>/dev/null
read journal entries for svc-27821
journalctl -u svc-27821.service --until '1 hour ago' --no-pager | wc -l
query journal history for svc-27822
journalctl -u svc-27822.service --since '1 hour ago' -n 100 | grep -E '^[^#]'
find files under /srv/svc-27823
find /srv/svc-27823 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
search the svc-27824 directory tree
find /srv/svc-27824 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
clean up selected files in /srv/svc-27825
find /srv/svc-27825 -type l -name '*.gz' -size +50M -exec ls -lh {} + 2>/dev/null
list git history for /srv/svc-27826
git -C /srv/svc-27826 log --oneline -n 20 --since='1 week ago' | head -n 10
pretty-print JSON for svc-27827
jq -c 'map(select(.status == "failed")) | length' /srv/svc-27827/health.json
show the diff in /srv/svc-27828
git -C /srv/svc-27828 diff --check -- | paste -sd, -
search the svc-27829 directory tree
find /srv/svc-27829 -type d -name '*.tmp' -size +50M -delete | grep -i warn
clean up selected files in /srv/svc-27830
find /srv/svc-27830 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | nl -ba
locate matching files in /srv/svc-27831
find /srv/svc-27831 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
query systemd status for svc-27832
systemctl disable svc-27832.socket | tee -a /tmp/svc-27832.log
replace values in svc-27833 files
sed '1,120p' /var/log/svc-27833.log | uniq -c
filter log content for svc-27834
grep -RInE 'secret' /etc/svc-27834 --include='*.py' | tee -a /tmp/svc-27834.log
display recent container output for svc-27835
docker logs --tail 50 --timestamps svc-27835 | grep -i error | tac
compress application files for svc-27836
tar -xzf /backup/svc-27836.tar.gz -C /tmp --strip-components=1 | sort -nr
start a disposable docker container for svc-27837
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | tr -s ' ' | tee /tmp/svc-27837.out | head -n 20
list svc-27838 account details
id -G svc-27838 | sed 's/^/ /'
search the svc-27839 directory tree
find /srv/svc-27839 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | tr -s ' '
validate JSON status for svc-27840
jq -S '.items[] | select(.id == 27840) | .name' /srv/svc-27840/jobs.json | head -n 50
start a disposable docker container for svc-27841
docker run --rm -d -v /srv/svc-27841/logs:/logs:ro alpine:3.20 du -sh /data | sort -nr
inspect pending changes in /srv/svc-27842
git -C /srv/svc-27842 diff --color-words HEAD~1..HEAD -- | wc -l
search text for svc-27843
grep -Rn 'timeout' /var/log/svc-27843.log --exclude-dir=vendor | head -n 5
display docker container details for svc-27844
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | cut -d, -f1 | tee /tmp/svc-27844.out | head -n 20
list repository status details in /srv/svc-27845
git -C /srv/svc-27845 status --show-stash | grep -i warn
locate matching files in /srv/svc-27846
find /srv/svc-27846 -mindepth 1 -type f -empty -mtime +7 -delete | wc -l
list matching paths under /srv/svc-27847
find /srv/svc-27847 -type l -name '*.conf' -size +50M -delete | cat
find files under /srv/svc-27848
find /srv/svc-27848 -mindepth 1 -type f -empty -mtime +30 -exec ls -lh {} + | head -n 20
search the svc-27849 directory tree
find /srv/svc-27849 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | column -t
clean up selected files in /srv/svc-27850
find /srv/svc-27850 -type l -name '*.conf' -newermt '1 day ago' -print 2>&1
show running containers for svc-27851
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | nl -ba | tee /tmp/svc-27851.out | head -n 20
display docker container details for svc-27852
docker ps -q | rev | tee /tmp/svc-27852.out | head -n 20
find files under /srv/svc-27853
find /srv/svc-27853 -type d -name '*.json' -mtime +7 -exec gzip {} + | sort -nr
filter log content for svc-27854
grep -n -A3 -B3 'TODO' /srv/svc-27854 --include='*.py' | head -n 20
read journal entries for svc-27855
journalctl -u svc-27855.service -n 100 -f 2>/dev/null
compare revisions in /srv/svc-27856
git -C /srv/svc-27856 diff --check | tail -n 5
list matching paths under /srv/svc-27857
find /srv/svc-27857 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | cat
find files under /srv/svc-27858
find /srv/svc-27858 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + | sort -nr
search the svc-27859 directory tree
find /srv/svc-27859 -mindepth 1 -type f -name '*.gz' -size +10M -print | uniq -c
count matches in svc-27860 data
grep -RIn 'ERROR' /var/log/svc-27860.log --include='*.go' | sort -nr
create a backup tarball for svc-27861
tar -xzf /backup/svc-27861.tar.gz -C /tmp || true
check resource use for svc-27862
ps -u svc-27862 -o pid,comm,%cpu --sort=-%cpu | fold -w 120
query JSON data for svc-27863
jq 'map(select(.status == "failed")) | length' /srv/svc-27863/config.json | nl -ba
search the svc-27864 directory tree
find /srv/svc-27864 -type d -name '*.gz' -mtime +7 -exec ls -lh {} + | tac
send a signal to svc-27865 workers
pkill -INT -f svc-27865 | sort -u
diagnose routing to svc-27866.example.com
traceroute -I svc-27866.example.com | tac
replace values in svc-27867 files
sed -n '1,120p' /var/log/svc-27867.log 2>/dev/null
find files under /srv/svc-27868
find /srv/svc-27868 -maxdepth 2 -type f -name '*.conf' -delete | awk '{print $1}'
display the commit log for /srv/svc-27869
git -C /srv/svc-27869 log --oneline -n 10 | grep -i warn
validate JSON status for svc-27870
jq 'map(select(.status == "failed")) | length' /srv/svc-27870/users.json | cut -d: -f1
read journal entries for svc-27871
journalctl -u svc-27871.service -f | grep -E '^[^#]'
query journal history for svc-27872
journalctl -u svc-27872.service --since '1 hour ago' -n 100 --no-pager | awk '{print $2}'
find files under /srv/svc-27873
find /srv/svc-27873 -type l -name '*.json' -print | nl -ba
read container logs for svc-27874
docker logs --tail 100 -f svc-27874 | grep -i error | head -n 20
inspect TCP ports for svc-27875
ss -tln | grep svc-27875 | cut -d: -f1
locate matching files in /srv/svc-27876
find /srv/svc-27876 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10
show running containers for svc-27877
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-27877' 2>&1 | tee /tmp/svc-27877.log
find files under /srv/svc-27878
find /srv/svc-27878 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | nl -ba
search the svc-27879 directory tree
find /srv/svc-27879 -type d -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
validate JSON status for svc-27880
jq -S '.items[] | .name' /srv/svc-27880/data.json | cut -d: -f1
display recent container output for svc-27881
docker logs --tail 500 --timestamps svc-27881 2>&1 2>&1 | tee /tmp/svc-27881.log