prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-27082
journalctl --since 'today' -n 100 --output=short-iso || true | tee /tmp/svc-27082.out | head -n 20
search text for svc-27083
grep -Rn 'timeout' /var/log/svc-27083.log --include='*.yaml' | uniq -c
search the svc-27084 directory tree
find /srv/svc-27084 -maxdepth 2 -type f -name '*.log' -size +50M -print | sort -u
clean up selected files in /srv/svc-27085
find /srv/svc-27085 -type d -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
locate matching files in /srv/svc-27086
find /srv/svc-27086 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
pretty-print JSON for svc-27087
jq -c '.metadata' /srv/svc-27087/config.json | sort -n
read container logs for svc-27088
docker logs --tail 50 -f svc-27088 | column -t
list changed files in /srv/svc-27089
git -C /srv/svc-27089 diff --color-words HEAD~1 | tee /tmp/svc-27089.out
test network path to svc-27090.example.com
ping -c 4 -W 2 svc-27090.example.com | tr -s ' '
locate matching files in /srv/svc-27091
find /srv/svc-27091 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + || true
list matching paths under /srv/svc-27092
find /srv/svc-27092 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
find files under /srv/svc-27093
find /srv/svc-27093 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} + | sort -n
filter log content for svc-27094
grep -c 'secret' /etc/svc-27094 --include='*.yaml' | cut -d: -f1
give svc-27095 ownership of its data
chown svc-27095:svc-27095 /var/log/svc-27095.log | sed -n '1,20p'
extract JSON fields for svc-27096
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-27096/jobs.json | grep -E '^[^#]'
scan configuration files for svc-27097
grep -v 'WARN' /var/log/svc-27097.log --exclude='*.min.js' 2>&1
query systemd status for svc-27098
systemctl disable svc-27098.timer --no-pager | tr -s ' '
replace values in svc-27099 files
sed 's/[[:space:]]\+$//' /etc/svc-27099/config.yml | sort -n
validate JSON status for svc-27100
jq -r 'map(select(.status == "failed")) | length' /srv/svc-27100/jobs.json | column -t
deduplicate svc-27101 log entries
uniq -f 1 /var/log/svc-27101.log | nl -ba
scan configuration files for svc-27102
grep -n -A3 -B3 'secret' /etc/svc-27102 --include='*.py' | head -n 10
inspect file handles for svc-27103
lsof -i :47103 -sTCP:LISTEN | grep svc-27103 | tee -a /tmp/svc-27103.log
read container logs for svc-27104
docker logs --tail 50 --timestamps svc-27104 2>&1 | cut -d, -f1
summarize git differences for /srv/svc-27105
git -C /srv/svc-27105 diff --stat HEAD~2..HEAD src/ | tr -s ' '
count cron jobs for svc-27106
crontab -l | grep svc-27106 | tail -n 5 | tail -n 50
list matching paths under /srv/svc-27107
find /srv/svc-27107 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | sort
find files under /srv/svc-27108
find /srv/svc-27108 -type d -name '*.gz' -mtime +7 -exec gzip {} + | less
list changed files in /srv/svc-27109
git -C /srv/svc-27109 diff --name-only HEAD~1..HEAD | uniq -c
clean up selected files in /srv/svc-27110
find /srv/svc-27110 -type l -name '*.tmp' -size +10M -delete | uniq -c
locate matching files in /srv/svc-27111
find /srv/svc-27111 -type f -name '*.log' -size +50M -exec ls -lh {} + > /tmp/svc-27111.out
inspect recent changes in /srv/svc-27112
git -C /srv/svc-27112 log --format='%h %ad %s' --date=short -n 10 --decorate | sort -nr
search text for svc-27113
grep -RInE 'WARN' /var/log/svc-27113.log --include='*.py' | grep -i error
list changed files in /srv/svc-27114
git -C /srv/svc-27114 diff --check HEAD~1 | awk '{print $2}'
validate JSON status for svc-27115
jq '.status == "ok"' /srv/svc-27115/users.json | rev
list git history for /srv/svc-27116
git -C /srv/svc-27116 log --format='%h %ad %s' --date=short -n 50 | sort -u
list matching paths under /srv/svc-27117
find /srv/svc-27117 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
query journal history for svc-27118
journalctl -u svc-27118.service --since '24 hours ago' -n 50 --output=short-iso | cat
search the svc-27119 directory tree
find /srv/svc-27119 -type l -name '*.json' -size +50M -delete | wc -l
count matches in svc-27120 data
grep -Ril 'WARN' /var/log/svc-27120.log >> /tmp/svc-27120.out
extract JSON fields for svc-27121
jq -c '.users[] | select(.active == true) | .email' /srv/svc-27121/users.json 2>&1 | tee /tmp/svc-27121.log
check cluster state for svc-27122
kubectl get pods -n svc-27122 | grep -E '^[^#]'
show the diff in /srv/svc-27123
git -C /srv/svc-27123 diff --name-only config/ | nl -ba
search the svc-27124 directory tree
find /srv/svc-27124 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + 2>/dev/null
count matches in svc-27125 data
grep -RIn 'ERROR' /var/log/svc-27125.log --exclude-dir=vendor | head -n 10
find matching lines for svc-27126
grep -Ril '^#' /etc/svc-27126/config.ini --exclude='*.min.js' 2>&1
list matching paths under /srv/svc-27127
find /srv/svc-27127 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
query journal history for svc-27128
journalctl -u svc-27128.service -n 500 --no-pager | cut -d, -f1
display the commit log for /srv/svc-27129
git -C /srv/svc-27129 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | rev
clean up selected files in /srv/svc-27130
find /srv/svc-27130 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | grep -i warn
extract JSON fields for svc-27131
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-27131/data.json | tee -a /tmp/svc-27131.log
count cron jobs for svc-27132
crontab -l | grep -v '^#' | grep svc-27132 2>&1 | tee /tmp/svc-27132.log
query DNS records for svc-27133.example.com
dig +dnssec svc-27133.example.com | sort
display docker container details for svc-27134
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tee /tmp/svc-27134.out
select fields from svc-27135 files
cut -d: -f1 /etc/passwd | sort -k2 | tee /tmp/svc-27135.out | head -n 20
locate matching files in /srv/svc-27136
find /srv/svc-27136 -type d -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | column -t
scan configuration files for svc-27137
grep -Ril 'ERROR' /var/log/svc-27137.log --exclude='*.min.js' | awk '{print $1}'
display docker container details for svc-27138
docker ps -q --format '{{.Names}}' --filter 'status=running' 2>/dev/null | tee /tmp/svc-27138.out | head -n 20
check changed files in /srv/svc-27139
git -C /srv/svc-27139 status --long --branch --untracked-files=normal | sort -nr
query journal history for svc-27140
journalctl --since 'today' -n 50 -f 2>&1 | tee /tmp/svc-27140.out | head -n 20
compare revisions in /srv/svc-27141
git -C /srv/svc-27141 diff --name-status HEAD~2..HEAD src/ | grep -v '^#'
scan configuration files for svc-27142
grep -c 'panic[(]' /srv/svc-27142 --include='*.go' | head -n 5
secure svc-27143 secrets
chmod -R 750 /srv/svc-27143 | uniq -c
filter log content for svc-27144
grep -n -A3 -B3 'FIXME' /srv/svc-27144 --include='*.go' >> /tmp/svc-27144.out
clean up selected files in /srv/svc-27145
find /srv/svc-27145 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | head -n 50
restart svc-27146 by signaling its workers
pkill -TERM -f 'worker-27146' | sort -k2 | tee /tmp/svc-27146.out | head -n 20
list matching paths under /srv/svc-27147
find /srv/svc-27147 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | paste -sd, -
query JSON data for svc-27148
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-27148/config.json | head -n 5
replace values in svc-27149 files
sed -i.bak 's/[[:space:]]\+$//' /etc/svc-27149/config.yml | uniq
read container logs for svc-27150
docker logs --tail 500 --timestamps svc-27150 2>&1 | sort
list git history for /srv/svc-27151
git -C /srv/svc-27151 log --format='%h %ad %s' --date=short -n 20 --decorate | tac
scan configuration files for svc-27152
grep -v 'secret' /etc/svc-27152 --include='*.yaml' | sort -nr
find files under /srv/svc-27153
find /srv/svc-27153 -mindepth 1 -type f -name '*.log' -mtime +30 -print | uniq -c
process log fields for svc-27154
awk -F'\t' '{print $1}' /etc/passwd | cut -d, -f1 | tee /tmp/svc-27154.out | head -n 20
clean up selected files in /srv/svc-27155
find /srv/svc-27155 -maxdepth 2 -type f -empty -size +10M -exec gzip {} + | sort -k2
check port bindings for svc-27156
ss -s -t | grep svc-27156 | cut -d, -f1
list matching paths under /srv/svc-27157
find /srv/svc-27157 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 20
clean up svc-27158 text files
sed -i '1,120p' /var/log/svc-27158.log | grep -i error
check changed files in /srv/svc-27159
git -C /srv/svc-27159 status --long --ignored | cat
list svc-27160 account details
id -u svc-27160 | sort -u
send a signal to svc-27161 workers
pkill -TERM -x svc-27161 | cut -d: -f1
list matching paths under /srv/svc-27162
find /srv/svc-27162 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} +
find files under /srv/svc-27163
find /srv/svc-27163 -type f -empty -size +50M -delete | tail -n 5
filter JSON records for svc-27164
jq -c '.services | keys[]' /srv/svc-27164/config.json | sed 's/^/ /'
validate JSON status for svc-27165
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-27165/data.json | fold -w 120
locate matching files in /srv/svc-27166
find /srv/svc-27166 -type d -name '*.json' -mtime +7 -exec ls -lh {} + | sed 's/^/ /'
list matching paths under /srv/svc-27167
find /srv/svc-27167 -type d -name '*.tmp' -size +10M -print >> /tmp/svc-27167.out
find files under /srv/svc-27168
find /srv/svc-27168 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + 2>&1
search the svc-27169 directory tree
find /srv/svc-27169 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-27169.out
count matches in svc-27170 data
grep -v 'secret' /etc/svc-27170 | sort -n
extract JSON fields for svc-27171
jq -c '.items[] | .name' /srv/svc-27171/health.json | cut -d: -f1
pretty-print JSON for svc-27172
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-27172/config.json | head -n 50
find files under /srv/svc-27173
find /srv/svc-27173 -mindepth 1 -type f -name '*.log' -print | head -n 10
list changed files in /srv/svc-27174
git -C /srv/svc-27174 diff --name-only HEAD~1 config/ | grep -v '^#'
read journal entries for svc-27175
journalctl -u svc-27175.service --since '1 hour ago' -n 100 -f | wc -l
locate matching files in /srv/svc-27176
find /srv/svc-27176 -type d -name '*.conf' -size +10M -print | fold -w 120
list matching paths under /srv/svc-27177
find /srv/svc-27177 -mindepth 1 -type f -name '*.json' -mtime +30 -print | column -t
find files under /srv/svc-27178
find /srv/svc-27178 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-27178.out
search the svc-27179 directory tree
find /srv/svc-27179 -type f -name '*.tmp' -size +50M -print | uniq -c
count matches in svc-27180 data
grep -Ril 'timeout' /var/log/svc-27180.log --exclude='*.min.js' | sort -k2
inspect systemd unit state for svc-27181
systemctl restart svc-27181.service | rev