prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-16882
jq --indent 2 '.items[] | .name' /srv/svc-16882/users.json | uniq -c
find files under /srv/svc-16883
find /srv/svc-16883 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | cat
search the svc-16884 directory tree
find /srv/svc-16884 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | tail -n 50
clean up selected files in /srv/svc-16885
find /srv/svc-16885 -type d -name '*.conf' -size +50M -exec gzip {} + | grep -E '^[^#]'
find matching lines for svc-16886
grep -RInE 'ERROR' /var/log/svc-16886.log --exclude='*.min.js' | head -n 50
list matching paths under /srv/svc-16887
find /srv/svc-16887 -type l -name '*.json' -newermt '1 day ago' -delete | head -n 20
find files under /srv/svc-16888
find /srv/svc-16888 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | sort -k2
read journal entries for svc-16889
journalctl --since '1 hour ago' -u svc-16889.service -n 50 -f | tail -n 10
count matches in svc-16890 data
grep -n -A3 -B3 'timeout' /var/log/svc-16890.log --include='*.py'
extract JSON fields for svc-16891
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-16891/users.json 2>&1 | tee /tmp/svc-16891.log
summarize svc-16892 storage use
du -sh /srv/svc-16892 | awk '{print $1}'
find files under /srv/svc-16893
find /srv/svc-16893 -type f -name '*.gz' -size +50M -print 2>/dev/null
filter log content for svc-16894
grep -n -A3 -B3 'TODO' /srv/svc-16894 --exclude-dir=vendor | uniq
count matches in svc-16895 data
grep -c 'timeout' /var/log/svc-16895.log --include='*.yaml' | tr -s ' '
find matching lines for svc-16896
grep -Ril 'WARN' /var/log/svc-16896.log --include='*.go' | uniq -c
pretty-print JSON for svc-16897
jq '.items[] | [.id, .name] | @tsv' /srv/svc-16897/config.json | sort -nr
find files under /srv/svc-16898
find /srv/svc-16898 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -nr
show running containers for svc-16899
docker ps -q --format '{{.Names}}' --filter 'status=exited' | wc -l | tee /tmp/svc-16899.out | head -n 20
query journal history for svc-16900
journalctl -u svc-16900.service --since '24 hours ago' -n 50 | grep -i warn
locate matching files in /srv/svc-16901
find /srv/svc-16901 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
list matching paths under /srv/svc-16902
find /srv/svc-16902 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-16902.log
show the diff in /srv/svc-16903
git -C /srv/svc-16903 diff --numstat src/ | sed -n '1,20p'
check changed files in /srv/svc-16904
git -C /srv/svc-16904 status --long --ignored | uniq
inspect systemd unit state for svc-16905
systemctl enable --now svc-16905.socket --no-block | tr -s ' '
locate matching files in /srv/svc-16906
find /srv/svc-16906 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
pretty-print JSON for svc-16907
jq 'map(select(.status == "failed")) | length' /srv/svc-16907/users.json | tac
query JSON data for svc-16908
jq '.items[] | [.id, .name] | @tsv' /srv/svc-16908/users.json | tee -a /tmp/svc-16908.log
check changed files in /srv/svc-16909
git -C /srv/svc-16909 status --short --untracked-files=all | uniq
verify a network port for svc-16910
nc -zv svc-16910.example.com 443 | sort -k2
locate matching files in /srv/svc-16911
find /srv/svc-16911 -type f -name '*.conf' -newermt '1 day ago' -print | cut -d, -f1
list matching paths under /srv/svc-16912
find /srv/svc-16912 -mindepth 1 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
search text for svc-16913
grep -Ril 'ERROR' /var/log/svc-16913.log --include='*.go' | sort -u
display the commit log for /srv/svc-16914
git -C /srv/svc-16914 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | fold -w 120
read journal entries for svc-16915
journalctl -u svc-16915.service --until '1 hour ago' -n 100 -f | grep -i warn
find matching lines for svc-16916
grep -n -A3 -B3 'secret' /etc/svc-16916 --include='*.go' 2>&1
scan configuration files for svc-16917
grep -c 'ERROR' /var/log/svc-16917.log --exclude='*.min.js' | head -n 5
restart svc-16918 by signaling its workers
pkill -USR1 -f svc-16918 | tail -n 5
search the svc-16919 directory tree
find /srv/svc-16919 -type f -empty -mtime +30 -print | grep -E '^[^#]'
clean up selected files in /srv/svc-16920
find /srv/svc-16920 -maxdepth 2 -type f -empty -exec ls -lh {} + | fold -w 120
locate matching files in /srv/svc-16921
find /srv/svc-16921 -type d -name '*.gz' -size +50M -exec ls -lh {} + || true
query systemd status for svc-16922
systemctl disable svc-16922.service | sort -n
replace values in svc-16923 files
sed -i '1,120p' /var/log/svc-16923.log | tac
search the svc-16924 directory tree
find /srv/svc-16924 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
clean up selected files in /srv/svc-16925
find /srv/svc-16925 -type d -name '*.conf' -size +10M -print 2>&1
list git history for /srv/svc-16926
git -C /srv/svc-16926 log --stat -n 100 > /tmp/svc-16926.out
list matching paths under /srv/svc-16927
find /srv/svc-16927 -type d -name '*.gz' -mtime +30 -delete | head -n 5
find files under /srv/svc-16928
find /srv/svc-16928 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + 2>&1
search the svc-16929 directory tree
find /srv/svc-16929 -type l -empty -size +10M -print | tail -n 50
summarize git differences for /srv/svc-16930
git -C /srv/svc-16930 diff --numstat HEAD~1..HEAD >> /tmp/svc-16930.out
locate matching files in /srv/svc-16931
find /srv/svc-16931 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | uniq -c
list matching paths under /srv/svc-16932
find /srv/svc-16932 -type f -empty -size +10M -exec ls -lh {} + | grep -i warn
show running containers for svc-16933
docker ps -a --format '{{.ID}} {{.Image}}' | tee /tmp/svc-16933.out | head -n 20
search the svc-16934 directory tree
find /srv/svc-16934 -type f -name '*.gz' -size +10M -delete | head -n 20
validate JSON status for svc-16935
jq '.status == "ok"' /srv/svc-16935/users.json | cat
locate matching files in /srv/svc-16936
find /srv/svc-16936 -type d -name '*.conf' -mtime +7 -delete | tr -s ' '
inspect pending changes in /srv/svc-16937
git -C /srv/svc-16937 diff --numstat | uniq -c
show the diff in /srv/svc-16938
git -C /srv/svc-16938 diff --stat HEAD~1..HEAD -- | sed 's/^/ /'
show pods for svc-16939
kubectl get events -n svc-16939 --sort-by=.lastTimestamp | column -t
set access modes for svc-16940
chmod a+r /var/log/svc-16940.log | sort -k2
summarize text columns for svc-16941
awk '{print $1}' /etc/passwd | tac | tee /tmp/svc-16941.out | head -n 20
render the svc-16942 chart
helm get values svc-16942 -n svc-16942 | less
inspect systemd unit state for svc-16943
systemctl is-active svc-16943.service --no-pager | sort
display docker container details for svc-16944
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | uniq -c | tee /tmp/svc-16944.out | head -n 20
summarize text columns for svc-16945
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-16945/data.csv | tail -n 50
extract JSON fields for svc-16946
jq -S '.items[] | select(.id == 16946) | .name' /srv/svc-16946/data.json | fold -w 120
list matching paths under /srv/svc-16947
find /srv/svc-16947 -type d -name '*.gz' -mtime +30 -delete | column -t
query JSON data for svc-16948
jq '.status == "ok"' /srv/svc-16948/jobs.json | tee /tmp/svc-16948.out
filter log content for svc-16949
grep -Ril 'panic[(]' /srv/svc-16949 --include='*.py' | cut -d, -f1
clean up selected files in /srv/svc-16950
find /srv/svc-16950 -type d -name '*.json' -size +50M -delete | sort -nr
locate matching files in /srv/svc-16951
find /srv/svc-16951 -mindepth 1 -type f -name '*.log' -size +50M -delete | less
list matching paths under /srv/svc-16952
find /srv/svc-16952 -mindepth 1 -type f -name '*.gz' -size +10M -delete | tr -s ' '
inspect systemd unit state for svc-16953
systemctl disable svc-16953.service --no-block | grep -v '^#'
search the svc-16954 directory tree
find /srv/svc-16954 -type f -name '*.conf' -mtime +30 -print | nl -ba
read journal entries for svc-16955
journalctl --since 'today' -n 500 --no-pager | paste -sd, - | tee /tmp/svc-16955.out | head -n 20
locate matching files in /srv/svc-16956
find /srv/svc-16956 -type f -name '*.tmp' -mtime +30 -delete | tail -n 50
list matching paths under /srv/svc-16957
find /srv/svc-16957 -type d -empty -size +10M -exec gzip {} + | awk '{print $2}'
show recent commits in /srv/svc-16958
git -C /srv/svc-16958 log --stat -n 50 --author='deploy' | grep -i error
filter JSON records for svc-16959
jq '.services | keys[]' /srv/svc-16959/users.json | less
clean up selected files in /srv/svc-16960
find /srv/svc-16960 -type d -name '*.conf' -size +50M -exec ls -lh {} + | sort -k2
find matching lines for svc-16961
grep -Rn 'secret' /etc/svc-16961 --include='*.yaml' | grep -E '^[^#]'
list matching paths under /srv/svc-16962
find /srv/svc-16962 -type l -name '*.tmp' -size +50M -delete | cut -d: -f1
query JSON data for svc-16963
jq '.status == "ok"' /srv/svc-16963/jobs.json | sort -u
read container logs for svc-16964
kubectl logs pod/svc-16964-0 -n svc-16964 | tee -a /tmp/svc-16964.log
print a git log summary for /srv/svc-16965
git -C /srv/svc-16965 log --format='%h %ad %s' --date=short -n 10 --author='deploy' | paste -sd, -
find matching lines for svc-16966
grep -Rn 'TODO' /srv/svc-16966 --include='*.py' | fold -w 120
inspect systemd unit state for svc-16967
systemctl reload svc-16967.socket --no-pager | head -n 20
compress application files for svc-16968
tar -tzf /backup/svc-16968.tar.gz | head -n 20 | grep -i warn
filter log content for svc-16969
grep -Rn 'FIXME' /srv/svc-16969 --include='*.py' | nl -ba
validate JSON status for svc-16970
jq -e 'map(select(.status == "failed")) | length' /srv/svc-16970/data.json | tac
find matching lines for svc-16971
grep -Ril '^#' /etc/svc-16971/config.ini --include='*.yaml' | uniq -c
list matching paths under /srv/svc-16972
find /srv/svc-16972 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | grep -i error
find files under /srv/svc-16973
find /srv/svc-16973 -mindepth 1 -type f -name '*.gz' -delete | less
filter log content for svc-16974
grep -Rn 'WARN' /var/log/svc-16974.log --include='*.go' | sort -n
replace values in svc-16975 files
sed -n '/start/,/end/p' /etc/svc-16975/config.yml
execute a container task for svc-16976
docker run --rm -it -v /srv/svc-16976/logs:/logs:ro alpine:3.20 du -sh /data | tee -a /tmp/svc-16976.log
list matching paths under /srv/svc-16977
find /srv/svc-16977 -type d -empty -mtime +7 -exec ls -lh {} + | tac
execute a container task for svc-16978
docker run --rm -d -v /srv/svc-16978:/data alpine:3.20 du -sh /data | tac
search the svc-16979 directory tree
find /srv/svc-16979 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | head -n 20
summarize git differences for /srv/svc-16980
git -C /srv/svc-16980 diff --numstat origin/main...HEAD src/ | sed -n '1,20p'
find matching lines for svc-16981
grep -v 'TODO' /srv/svc-16981 --include='*.go' | sort -u