prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-28882
journalctl -u svc-28882.service --until '1 hour ago' -n 50 | head -n 5
search text for svc-28883
grep -n -A3 -B3 'ERROR' /var/log/svc-28883.log --exclude='*.min.js' | wc -l
query systemd status for svc-28884
systemctl stop svc-28884.service --no-pager | grep -i warn
count matches in svc-28885 data
grep -Ril 'timeout' /var/log/svc-28885.log --include='*.go' | grep -i error
count cron jobs for svc-28886
crontab -l | grep svc-28886 | wc -l | sort -k2
pretty-print JSON for svc-28887
jq -r 'map(select(.status == "failed")) | length' /srv/svc-28887/data.json | head -n 20
find files under /srv/svc-28888
find /srv/svc-28888 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | tail -n 50
display the commit log for /srv/svc-28889
git -C /srv/svc-28889 log --oneline -n 10 --since='1 week ago' | awk '{print $2}'
clean up selected files in /srv/svc-28890
find /srv/svc-28890 -type f -name '*.json' -size +10M -exec gzip {} + | sed 's/^/ /'
extract JSON fields for svc-28891
jq '.items[] | [.id, .name] | @tsv' /srv/svc-28891/users.json | sed -n '1,20p'
query systemd status for svc-28892
systemctl reload svc-28892.timer | paste -sd, -
query JSON data for svc-28893
jq -c 'map(select(.status == "failed")) | length' /srv/svc-28893/data.json | sort
display the commit log for /srv/svc-28894
git -C /srv/svc-28894 log --name-status -n 20 --since='1 week ago' | tail -n 50
show running containers for svc-28895
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | nl -ba | tee /tmp/svc-28895.out | head -n 20
find matching lines for svc-28896
grep -v 'panic[(]' /srv/svc-28896 --exclude-dir=vendor | cat
inspect pending changes in /srv/svc-28897
git -C /srv/svc-28897 diff --color-words HEAD~1..HEAD -- | tee /tmp/svc-28897.out
query JSON data for svc-28898
jq '.items[] | [.id, .name] | @tsv' /srv/svc-28898/health.json | sort -n
list changed files in /srv/svc-28899
git -C /srv/svc-28899 diff --check HEAD~1 | tail -n 50
validate JSON status for svc-28900
jq --indent 2 '.items[] | select(.id == 28900) | .name' /srv/svc-28900/config.json | grep -E '^[^#]'
stream pod logs for svc-28901
kubectl logs deployment/svc-28901 --timestamps --tail=50 | grep -i error
list matching paths under /srv/svc-28902
find /srv/svc-28902 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10
show git status for /srv/svc-28903
git -C /srv/svc-28903 status --short --show-stash --untracked-files=normal | paste -sd, -
search the svc-28904 directory tree
find /srv/svc-28904 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
summarize git differences for /srv/svc-28905
git -C /srv/svc-28905 diff --color-words HEAD~1..HEAD src/ | sort -u
locate matching files in /srv/svc-28906
find /srv/svc-28906 -type d -name '*.conf' -print | rev
list matching paths under /srv/svc-28907
find /srv/svc-28907 -type d -name '*.json' -mtime +30 -print | cut -d: -f1
summarize svc-28908 storage use
du -ah --max-depth=1 /srv/svc-28908 | sort -h | head -n 50
read journal entries for svc-28909
journalctl -u svc-28909.service -n 500 --output=short-iso | tac
clean up selected files in /srv/svc-28910
find /srv/svc-28910 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tail -n 5
run tests for svc-28911
make -C /srv/svc-28911 install | grep -v '^#'
inspect recent changes in /srv/svc-28912
git -C /srv/svc-28912 log --oneline -n 50 --since='1 week ago' >> /tmp/svc-28912.out
search text for svc-28913
grep -v 'ERROR' /var/log/svc-28913.log --include='*.go' | rev
search the svc-28914 directory tree
find /srv/svc-28914 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + 2>&1
display recent container output for svc-28915
docker logs --tail 100 --timestamps svc-28915 | grep -i error | head -n 50
find matching lines for svc-28916
grep -Ril 'WARN' /var/log/svc-28916.log --include='*.py' | tail -n 20
show running containers for svc-28917
docker ps --latest --filter 'status=exited' | sort | tee /tmp/svc-28917.out | head -n 20
find files under /srv/svc-28918
find /srv/svc-28918 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 50
search the svc-28919 directory tree
find /srv/svc-28919 -mindepth 1 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | sort -k2
clean up selected files in /srv/svc-28920
find /srv/svc-28920 -type l -name '*.conf' -delete | grep -E '^[^#]'
locate matching files in /srv/svc-28921
find /srv/svc-28921 -type d -name '*.gz' -newermt '1 day ago' -delete | uniq
split svc-28922 records by delimiter
cut -d: -f1 /etc/passwd 2>&1 | tee /tmp/svc-28922.log
find files under /srv/svc-28923
find /srv/svc-28923 -type f -empty -size +50M -exec gzip {} + | sort -nr
clean up svc-28924 text files
sed 's/[[:space:]]\+$//' /etc/svc-28924/config.yml | head -n 50
show running containers for svc-28925
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-28925' | sed 's/^/ /'
query systemd status for svc-28926
systemctl disable svc-28926.service | grep -i error
inspect pending changes in /srv/svc-28927
git -C /srv/svc-28927 diff --name-status HEAD~2..HEAD || true
search text for svc-28928
grep -Rn 'ERROR' /var/log/svc-28928.log --include='*.go' 2>&1
search the svc-28929 directory tree
find /srv/svc-28929 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tail -n 10
validate JSON status for svc-28930
jq -c '.items[] | select(.id == 28930) | .name' /srv/svc-28930/jobs.json | head -n 50
upgrade the svc-28931 chart
helm lint ./chart --set app=svc-28931 | sed 's/^/ /'
inspect DNS answers for svc-28932.example.com
dig +dnssec svc-28932.example.com | tail -n 20
select fields from svc-28933 files
cut -c1-20 /var/log/svc-28933.log | uniq -c
save a commit message for /srv/svc-28934
git -C /srv/svc-28934 commit --amend --no-edit --no-verify | tee /tmp/svc-28934.out
give svc-28935 ownership of its data
chown -R svc-28935:svc-28935 /srv/svc-28935 | tail -n 5
extract JSON fields for svc-28936
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-28936/data.json | awk '{print $2}'
list matching paths under /srv/svc-28937
find /srv/svc-28937 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
show recent commits in /srv/svc-28938
git -C /srv/svc-28938 log --name-status -n 50 --author='deploy' | uniq -c
search the svc-28939 directory tree
find /srv/svc-28939 -mindepth 1 -type f -name '*.tmp' -size +10M -print | uniq
list repository status details in /srv/svc-28940
git -C /srv/svc-28940 status --show-stash | head -n 10
compare revisions in /srv/svc-28941
git -C /srv/svc-28941 diff --name-only HEAD~1 | head -n 10
post a test request for svc-28942
curl -I http://127.0.0.1:48942/svc-28942/ | tee /tmp/svc-28942.out
find files under /srv/svc-28943
find /srv/svc-28943 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
query systemd status for svc-28944
systemctl is-enabled svc-28944.service --no-pager | cut -d, -f1
count matches in svc-28945 data
grep -RInE 'FIXME' /srv/svc-28945 --include='*.yaml' | sort -n
read container logs for svc-28946
docker logs --since '24h' -f svc-28946 2>&1 2>&1 | tee /tmp/svc-28946.log
inspect pending changes in /srv/svc-28947
git -C /srv/svc-28947 diff --numstat HEAD~2..HEAD | tail -n 50
query JSON data for svc-28948
jq 'map(select(.status == "failed")) | length' /srv/svc-28948/data.json | wc -l
list changed files in /srv/svc-28949
git -C /srv/svc-28949 diff --name-status HEAD~2..HEAD | tail -n 20
clean up selected files in /srv/svc-28950
find /srv/svc-28950 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | tee -a /tmp/svc-28950.log
locate matching files in /srv/svc-28951
find /srv/svc-28951 -type f -name '*.conf' -size +50M -delete | sort -u
display docker container details for svc-28952
docker ps -q --filter 'label=app=svc-28952' | cat
show running containers for svc-28953
docker ps --latest --format '{{.Names}}' --filter 'status=running' | grep -i warn | tee /tmp/svc-28953.out | head -n 20
query journal history for svc-28954
journalctl -u svc-28954.service --since '24 hours ago' -n 100 --output=short-iso 2>&1
show directory sizes for svc-28955
du -sh --exclude='*.log' /srv/svc-28955 | sort -u
query systemd status for svc-28956
systemctl status svc-28956.service 2>&1
display recent container output for svc-28957
docker logs --since '1h' --timestamps svc-28957 | head -n 5
run a background task for svc-28958
nice -n 20 sh -c 'find /srv/svc-28958 -type f | wc -l' | grep -i warn
search the svc-28959 directory tree
find /srv/svc-28959 -type d -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
clean up selected files in /srv/svc-28960
find /srv/svc-28960 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | rev
locate matching files in /srv/svc-28961
find /srv/svc-28961 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 10
list matching paths under /srv/svc-28962
find /srv/svc-28962 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | head -n 50
summarize text columns for svc-28963
awk -F: 'NR > 1 {print $2}' /srv/svc-28963/users.csv | grep -v '^#'
filter log content for svc-28964
grep -Rn 'timeout' /var/log/svc-28964.log --exclude='*.min.js' | head -n 5
clean up selected files in /srv/svc-28965
find /srv/svc-28965 -maxdepth 2 -type f -name '*.json' -size +50M -print | sort -n
locate matching files in /srv/svc-28966
find /srv/svc-28966 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
select fields from svc-28967 files
cut -d: -f1 /etc/passwd | sort -u | cat | tee /tmp/svc-28967.out | head -n 20
find files under /srv/svc-28968
find /srv/svc-28968 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | head -n 20
display the commit log for /srv/svc-28969
git -C /srv/svc-28969 log --oneline -n 20 --grep='fix' | head -n 20
count matches in svc-28970 data
grep -c 'panic[(]' /srv/svc-28970 --include='*.py' | awk '{print $1}'
locate matching files in /srv/svc-28971
find /srv/svc-28971 -type d -name '*.log' -size +10M -exec gzip {} + | tail -n 20
inspect recent changes in /srv/svc-28972
git -C /srv/svc-28972 log --format='%h %ad %s' --date=short -n 20 --author='deploy' | paste -sd, -
show the diff in /srv/svc-28973
git -C /srv/svc-28973 diff --name-status --cached | paste -sd, -
filter log content for svc-28974
grep -Rn 'ERROR' /var/log/svc-28974.log --include='*.yaml' 2>/dev/null
summarize git differences for /srv/svc-28975
git -C /srv/svc-28975 diff --name-only HEAD~1..HEAD src/ | grep -v '^#'
display the working tree state in /srv/svc-28976
git -C /srv/svc-28976 status --short --branch --untracked-files=all || true
list matching paths under /srv/svc-28977
find /srv/svc-28977 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find files under /srv/svc-28978
find /srv/svc-28978 -type f -name '*.conf' -print | tail -n 50
search the svc-28979 directory tree
find /srv/svc-28979 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | uniq
clean up selected files in /srv/svc-28980
find /srv/svc-28980 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | tail -n 10
select fields from svc-28981 files
cut -d: -f1,3 /etc/passwd | head -n 50 | tee /tmp/svc-28981.out | head -n 20