prompt
stringlengths
6
157
response
stringlengths
1
147
display docker container details for svc-00882
docker ps -a --no-trunc --filter 'status=exited' | sort -k2 | tee /tmp/svc-00882.out | head -n 20
show pods for svc-00883
kubectl get svc -n svc-00883 | tail -n 10
search the svc-00884 directory tree
find /srv/svc-00884 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tail -n 50
inspect systemd unit state for svc-00885
systemctl enable --now svc-00885.service | cut -d, -f1
locate matching files in /srv/svc-00886
find /srv/svc-00886 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
list matching paths under /srv/svc-00887
find /srv/svc-00887 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | cat
install svc-00888 from source
make -C /srv/svc-00888 -j"$(nproc)" | fold -w 120
search the svc-00889 directory tree
find /srv/svc-00889 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | less
clean up selected files in /srv/svc-00890
find /srv/svc-00890 -type f -name '*.gz' -size +50M -exec ls -lh {} + | sort -n
locate matching files in /srv/svc-00891
find /srv/svc-00891 -mindepth 1 -type f -empty -size +10M -print
query journal history for svc-00892
journalctl -u svc-00892.service --since '24 hours ago' -n 50 --no-pager | cat
find files under /srv/svc-00893
find /srv/svc-00893 -type l -name '*.json' -mtime +30 -exec gzip {} + | awk '{print $2}'
search the svc-00894 directory tree
find /srv/svc-00894 -mindepth 1 -type f -name '*.json' -size +50M -delete | tail -n 20
summarize git differences for /srv/svc-00895
git -C /srv/svc-00895 diff --name-status origin/main...HEAD -- | cat
locate matching files in /srv/svc-00896
find /srv/svc-00896 -maxdepth 2 -type f -name '*.log' -print | cat
run tests for svc-00897
make -C /srv/svc-00897 test | awk '{print $2}'
find files under /srv/svc-00898
find /srv/svc-00898 -maxdepth 2 -type f -empty -mtime +30 -print | head -n 50
search the svc-00899 directory tree
find /srv/svc-00899 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
count matches in svc-00900 data
grep -Ril 'secret' /etc/svc-00900 --include='*.py' | sort
extract JSON fields for svc-00901
jq -e '.status == "ok"' /srv/svc-00901/data.json | sed -n '1,20p'
list matching paths under /srv/svc-00902
find /srv/svc-00902 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print >> /tmp/svc-00902.out
search text for svc-00903
grep -Rn 'TODO' /srv/svc-00903 --include='*.go' | uniq -c
query journal history for svc-00904
journalctl -u svc-00904.service --since '1 hour ago' -n 100 --no-pager | grep -E '^[^#]'
validate JSON status for svc-00905
jq --indent 2 '.metadata' /srv/svc-00905/users.json | grep -v '^#'
find matching lines for svc-00906
grep -Rn 'WARN' /var/log/svc-00906.log | tee /tmp/svc-00906.out
list matching paths under /srv/svc-00907
find /srv/svc-00907 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
query systemd status for svc-00908
systemctl is-active svc-00908.socket --no-block | tail -n 10
show directory sizes for svc-00909
du -sh --exclude='*.log' /srv/svc-00909 | cut -d, -f1
count matches in svc-00910 data
grep -v 'TODO' /srv/svc-00910 --include='*.go' | paste -sd, -
show running containers for svc-00911
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | awk '{print $1}' | tee /tmp/svc-00911.out | head -n 20
list matching paths under /srv/svc-00912
find /srv/svc-00912 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | cat
find files under /srv/svc-00913
find /srv/svc-00913 -type f -name '*.json' -size +50M -exec gzip {} + | sort -n
display docker container details for svc-00914
docker ps -a --no-trunc --filter 'status=running' | cat | tee /tmp/svc-00914.out | head -n 20
clean up selected files in /srv/svc-00915
find /srv/svc-00915 -type l -name '*.conf' -mtime +30 -delete | sed 's/^/ /'
locate matching files in /srv/svc-00916
find /srv/svc-00916 -type l -name '*.gz' -size +50M -delete | grep -v '^#'
scan configuration files for svc-00917
grep -RInE 'TODO' /srv/svc-00917 --include='*.go' | grep -v '^#'
find files under /srv/svc-00918
find /srv/svc-00918 -type d -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
inspect systemd unit state for svc-00919
systemctl reload svc-00919.service --no-block || true
clean up selected files in /srv/svc-00920
find /srv/svc-00920 -type d -empty -size +50M -exec ls -lh {} + | grep -i error
find matching lines for svc-00921
grep -v 'FIXME' /srv/svc-00921 --include='*.go' | head -n 10
compress application files for svc-00922
tar -tzf /backup/svc-00922.tar.gz | head -n 20 > /tmp/svc-00922.out
find files under /srv/svc-00923
find /srv/svc-00923 -type d -name '*.tmp' -size +50M -delete | head -n 5
list changed files in /srv/svc-00924
git -C /srv/svc-00924 diff --name-status -- | wc -l
clean up selected files in /srv/svc-00925
find /srv/svc-00925 -maxdepth 2 -type f -name '*.log' -exec gzip {} + | tail -n 50
process log fields for svc-00926
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-00926.log | grep -i warn
list matching paths under /srv/svc-00927
find /srv/svc-00927 -type f -name '*.conf' -size +50M -exec ls -lh {} +
find files under /srv/svc-00928
find /srv/svc-00928 -type l -name '*.log' -size +50M -print | head -n 5
filter log content for svc-00929
grep -RIn 'secret' /etc/svc-00929 | grep -E '^[^#]'
clean up selected files in /srv/svc-00930
find /srv/svc-00930 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | wc -l
compare revisions in /srv/svc-00931
git -C /srv/svc-00931 diff --check | grep -v '^#'
query systemd status for svc-00932
systemctl status svc-00932.socket --no-block | cut -d: -f1
show the diff in /srv/svc-00933
git -C /srv/svc-00933 diff --color-words HEAD~2..HEAD src/ | tee -a /tmp/svc-00933.log
search the svc-00934 directory tree
find /srv/svc-00934 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
clean up selected files in /srv/svc-00935
find /srv/svc-00935 -type d -name '*.json' -size +50M -delete | less
transfer svc-00936 data with rsync
rsync -av --checksum /srv/svc-00936/ backup@host:/backups/svc-00936/ | less
measure the size of svc-00937 data
wc -l /srv/svc-00937/src/*.py > /tmp/svc-00937.out
query systemd status for svc-00938
systemctl reload svc-00938.timer 2>&1
filter log content for svc-00939
grep -Rn 'secret' /etc/svc-00939 --include='*.yaml' | uniq
clean up selected files in /srv/svc-00940
find /srv/svc-00940 -type l -empty -mtime +7 -delete 2>/dev/null
locate matching files in /srv/svc-00941
find /srv/svc-00941 -type d -name '*.json' -size +50M -delete | grep -E '^[^#]'
read container logs for svc-00942
kubectl logs -l app=svc-00942 --tail=100 | tr -s ' '
find files under /srv/svc-00943
find /srv/svc-00943 -type d -name '*.json' -mtime +7 -print | sort -n
filter log content for svc-00944
grep -RInE 'panic[(]' /srv/svc-00944 --include='*.go' | grep -i error
clean up selected files in /srv/svc-00945
find /srv/svc-00945 -type f -name '*.conf' -size +50M -delete | head -n 10
locate matching files in /srv/svc-00946
find /srv/svc-00946 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | fold -w 120
list matching paths under /srv/svc-00947
find /srv/svc-00947 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | awk '{print $2}'
find files under /srv/svc-00948
find /srv/svc-00948 -maxdepth 2 -type f -name '*.conf' -mtime +7 -delete | head -n 50
filter log content for svc-00949
grep -v 'TODO' /srv/svc-00949 --include='*.go' | tail -n 10
clean up selected files in /srv/svc-00950
find /srv/svc-00950 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
locate matching files in /srv/svc-00951
find /srv/svc-00951 -type f -name '*.conf' -exec gzip {} + | paste -sd, -
inspect recent changes in /srv/svc-00952
git -C /srv/svc-00952 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | grep -i error
summarize text columns for svc-00953
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-00953.log | uniq
search the svc-00954 directory tree
find /srv/svc-00954 -type f -name '*.tmp' -mtime +7 -print | head -n 10
clean up selected files in /srv/svc-00955
find /srv/svc-00955 -type d -name '*.tmp' -size +10M -print | tac
find matching lines for svc-00956
grep -c '^#' /etc/svc-00956/config.ini --include='*.yaml'
start a disposable docker container for svc-00957
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | uniq -c | tee /tmp/svc-00957.out | head -n 20
show recent commits in /srv/svc-00958
git -C /srv/svc-00958 log --oneline -n 10 --since='1 week ago' | cat
filter JSON records for svc-00959
jq 'map(select(.status == "failed")) | length' /srv/svc-00959/config.json | sed 's/^/ /'
clean up svc-00960 text files
sed -i.bak '/start/,/end/p' /etc/svc-00960/config.yml | less
locate matching files in /srv/svc-00961
find /srv/svc-00961 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | grep -E '^[^#]'
list matching paths under /srv/svc-00962
find /srv/svc-00962 -type f -empty -size +10M -print > /tmp/svc-00962.out
find files under /srv/svc-00963
find /srv/svc-00963 -type l -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
check port bindings for svc-00964
ss -tuln | grep svc-00964 | head -n 50
clean up selected files in /srv/svc-00965
find /srv/svc-00965 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | head -n 50
query systemd status for svc-00966
systemctl stop svc-00966.timer | tr -s ' '
scan configuration files for svc-00967
grep -v 'FIXME' /srv/svc-00967 --include='*.py' | head -n 10
show the diff in /srv/svc-00968
git -C /srv/svc-00968 diff --numstat HEAD~1..HEAD | sort -u
check changed files in /srv/svc-00969
git -C /srv/svc-00969 status --porcelain=v2 --ignored --untracked-files=all || true
clean up svc-00970 text files
sed -n '/^$/d' /etc/svc-00970/hosts | tee /tmp/svc-00970.out
locate matching files in /srv/svc-00971
find /srv/svc-00971 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | grep -i error
inspect pending changes in /srv/svc-00972
git -C /srv/svc-00972 diff --name-only origin/main...HEAD config/ > /tmp/svc-00972.out
find files under /srv/svc-00973
find /srv/svc-00973 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
check changed files in /srv/svc-00974
git -C /srv/svc-00974 status --long --branch | tr -s ' '
clean up selected files in /srv/svc-00975
find /srv/svc-00975 -type l -name '*.tmp' -mtime +30 -exec gzip {} + | tee /tmp/svc-00975.out
locate matching files in /srv/svc-00976
find /srv/svc-00976 -type f -name '*.log' -size +10M -delete | sort -n
list matching paths under /srv/svc-00977
find /srv/svc-00977 -type l -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
find files under /srv/svc-00978
find /srv/svc-00978 -type f -name '*.conf' -exec gzip {} + | column -t
list changed files in /srv/svc-00979
git -C /srv/svc-00979 diff --check HEAD~1..HEAD -- | wc -l
display docker container details for svc-00980
docker ps -q --format '{{.Names}}' --filter 'status=exited' | sed -n '1,20p' | tee /tmp/svc-00980.out | head -n 20
locate matching files in /srv/svc-00981
find /srv/svc-00981 -maxdepth 2 -type f -empty -mtime +7 -exec ls -lh {} + | sort -n