prompt
stringlengths
6
157
response
stringlengths
1
147
process log fields for svc-10082
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-10082/data.csv | grep -i error
search text for svc-10083
grep -Ril 'secret' /etc/svc-10083 --exclude-dir=vendor | cat
filter log content for svc-10084
grep -v 'panic[(]' /srv/svc-10084 --include='*.yaml' | tail -n 5
count matches in svc-10085 data
grep -n -A3 -B3 '^#' /etc/svc-10085/config.ini --exclude-dir=vendor
list git history for /srv/svc-10086
git -C /srv/svc-10086 log --graph --oneline -n 50 --grep='fix' | tail -n 20
list scheduled jobs for svc-10087
crontab -l | grep svc-10087 | cut -d' ' -f1-5 | sort -k2
summarize svc-10088 storage use
du -sh /etc/svc-10088 | sed 's/^/ /'
search the svc-10089 directory tree
find /srv/svc-10089 -type l -name '*.json' -mtime +30 -exec ls -lh {} + | less
clean up selected files in /srv/svc-10090
find /srv/svc-10090 -type d -name '*.gz' -mtime +7 -delete | less
schedule svc-10091 maintenance with nice
nice -n 5 rsync -a /srv/svc-10091/ /backup/svc-10091/ | cat
scan configuration files for svc-10092
grep -Rn '^#' /etc/svc-10092/config.ini --exclude-dir=vendor | tail -n 5
inspect systemd unit state for svc-10093
systemctl show svc-10093.socket --no-pager 2>/dev/null
process log fields for svc-10094
awk '{sum += $5} END {print sum}' /srv/svc-10094/metrics.txt | sort
validate JSON status for svc-10095
jq --indent 2 '.services | keys[]' /srv/svc-10095/health.json | tee /tmp/svc-10095.out
query journal history for svc-10096
journalctl -u svc-10096.service --until '1 hour ago' -n 100 | grep -i error
pretty-print JSON for svc-10097
jq --indent 2 '.status == "ok"' /srv/svc-10097/config.json | tail -n 10
display docker container details for svc-10098
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tee /tmp/svc-10098.out | head -n 20
search the svc-10099 directory tree
find /srv/svc-10099 -type f -empty -exec ls -lh {} + | tee /tmp/svc-10099.out
render the svc-10100 chart
helm history svc-10100 -n svc-10100 | sort -u
show running containers for svc-10101
docker ps --latest --filter 'status=running' | cut -d: -f1 | tee /tmp/svc-10101.out | head -n 20
diagnose routing to svc-10102.example.com
traceroute -n -w 2 svc-10102.example.com | grep -i error
query JSON data for svc-10103
jq '.status == "ok"' /srv/svc-10103/health.json > /tmp/svc-10103.out
filter log content for svc-10104
grep -RIn 'WARN' /var/log/svc-10104.log --include='*.py' | grep -E '^[^#]'
count matches in svc-10105 data
grep -RInE 'panic[(]' /srv/svc-10105 --include='*.go' | grep -i warn
locate matching files in /srv/svc-10106
find /srv/svc-10106 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | tail -n 20
inspect pending changes in /srv/svc-10107
git -C /srv/svc-10107 diff --color-words HEAD~2..HEAD config/ | tail -n 50
find files under /srv/svc-10108
find /srv/svc-10108 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | awk '{print $1}'
search the svc-10109 directory tree
find /srv/svc-10109 -type d -name '*.conf' -newermt '1 day ago' -delete | tail -n 50
count matches in svc-10110 data
grep -RInE '^#' /etc/svc-10110/config.ini --include='*.py' | head -n 20
extract JSON fields for svc-10111
jq --indent 2 '.items[] | select(.id == 10111) | .name' /srv/svc-10111/users.json | tail -n 5
list matching paths under /srv/svc-10112
find /srv/svc-10112 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
find files under /srv/svc-10113
find /srv/svc-10113 -type d -name '*.tmp' -mtime +30 -exec ls -lh {} + | tail -n 20
read container logs for svc-10114
docker logs --tail 50 --timestamps svc-10114 | head -n 10
summarize git differences for /srv/svc-10115
git -C /srv/svc-10115 diff --color-words --cached | sort -u
locate matching files in /srv/svc-10116
find /srv/svc-10116 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | head -n 10
list matching paths under /srv/svc-10117
find /srv/svc-10117 -type l -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
show git status for /srv/svc-10118
git -C /srv/svc-10118 status --porcelain=v1 --branch --untracked-files=all | sort -nr
list changed files in /srv/svc-10119
git -C /srv/svc-10119 diff --numstat HEAD~1 src/ | sort -nr
clean up selected files in /srv/svc-10120
find /srv/svc-10120 -type d -name '*.json' -mtime +30 -print 2>/dev/null
locate matching files in /srv/svc-10121
find /srv/svc-10121 -maxdepth 2 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
list matching paths under /srv/svc-10122
find /srv/svc-10122 -type f -name '*.conf' -print | sort -nr
find files under /srv/svc-10123
find /srv/svc-10123 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | sort
filter log content for svc-10124
grep -v 'WARN' /var/log/svc-10124.log --include='*.go' | uniq -c
copy application data for svc-10125
rsync -av --dry-run /srv/svc-10125/ backup@host:/backups/svc-10125/ | head -n 20
locate matching files in /srv/svc-10126
find /srv/svc-10126 -maxdepth 2 -type f -name '*.conf' -size +10M -delete | tail -n 5
list matching paths under /srv/svc-10127
find /srv/svc-10127 -type l -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
find files under /srv/svc-10128
find /srv/svc-10128 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | head -n 20
list changed files in /srv/svc-10129
git -C /srv/svc-10129 diff --name-only HEAD~1 >> /tmp/svc-10129.out
inspect DNS answers for svc-10130.example.com
dig +noall +answer svc-10130.example.com | fold -w 120
show running containers for svc-10131
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | less | tee /tmp/svc-10131.out | head -n 20
list matching paths under /srv/svc-10132
find /srv/svc-10132 -type d -name '*.json' -size +50M -exec gzip {} + | grep -i error
search text for svc-10133
grep -Rn 'ERROR' /var/log/svc-10133.log --exclude-dir=vendor 2>&1
search the svc-10134 directory tree
find /srv/svc-10134 -maxdepth 2 -type f -name '*.json' -size +10M -print || true
create a backup tarball for svc-10135
tar -czf /backup/svc-10135.tar.gz -C /srv/svc-10135 . || true
read container logs for svc-10136
docker logs --tail 100 -f svc-10136 2>&1 | nl -ba
scan configuration files for svc-10137
grep -Rn 'FIXME' /srv/svc-10137 --exclude-dir=vendor | sort -n
query JSON data for svc-10138
jq -c 'map(select(.status == "failed")) | length' /srv/svc-10138/jobs.json | head -n 50
search the svc-10139 directory tree
find /srv/svc-10139 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
clean up selected files in /srv/svc-10140
find /srv/svc-10140 -type l -empty -mtime +7 -delete | fold -w 120
compare revisions in /srv/svc-10141
git -C /srv/svc-10141 diff --check HEAD~1..HEAD | head -n 5
list matching paths under /srv/svc-10142
find /srv/svc-10142 -type d -name '*.json' -size +10M -exec ls -lh {} + | sed -n '1,20p'
find files under /srv/svc-10143
find /srv/svc-10143 -type d -name '*.gz' -size +10M -print | tr -s ' '
assign svc-10144 files to the service user
chown -R root:root /etc/svc-10144 | uniq -c
clean up selected files in /srv/svc-10145
find /srv/svc-10145 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
query systemd status for svc-10146
systemctl restart svc-10146.service --no-block | tee /tmp/svc-10146.out
inspect file handles for svc-10147
lsof -p $(pgrep -f svc-10147) -a -d cwd | tail -n 5
clean up svc-10148 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-10148/config.ini | tail -n 50
search the svc-10149 directory tree
find /srv/svc-10149 -mindepth 1 -type f -empty -size +50M -delete | awk '{print $1}'
clean up selected files in /srv/svc-10150
find /srv/svc-10150 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | less
check reachability of svc-10151.example.com
ping -6 -c 4 svc-10151.example.com | fold -w 120
diagnose routing to svc-10152.example.com
traceroute -n -w 2 svc-10152.example.com | grep -E '^[^#]'
read journal entries for svc-10153
journalctl -u svc-10153.service --output=short-iso | head -n 10
search the svc-10154 directory tree
find /srv/svc-10154 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | tail -n 5
clean up selected files in /srv/svc-10155
find /srv/svc-10155 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 20
extract JSON fields for svc-10156
jq --indent 2 '.status == "ok"' /srv/svc-10156/config.json | tail -n 5
inspect recent changes in /srv/svc-10157
git -C /srv/svc-10157 log --stat -n 50 --decorate | tail -n 20
list svc-10158 account details
id -g svc-10158 | wc -l
search the svc-10159 directory tree
find /srv/svc-10159 -type d -empty -exec gzip {} + | awk '{print $2}'
display docker container details for svc-10160
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | sed -n '1,20p' | tee /tmp/svc-10160.out | head -n 20
locate matching files in /srv/svc-10161
find /srv/svc-10161 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | uniq -c
scan configuration files for svc-10162
grep -Rn 'timeout' /var/log/svc-10162.log --include='*.go' | head -n 10
find files under /srv/svc-10163
find /srv/svc-10163 -type f -name '*.conf' -size +10M -exec gzip {} + | wc -l
find duplicate values for svc-10164
uniq -i /var/log/svc-10164.log | tee -a /tmp/svc-10164.log
validate JSON status for svc-10165
jq '.services | keys[]' /srv/svc-10165/config.json | cut -d, -f1
check path selection for svc-10166.example.com
ip route get svc-10166.example.com tos 0x10 | sort -nr
list matching paths under /srv/svc-10167
find /srv/svc-10167 -type l -name '*.gz' -mtime +7 -exec gzip {} + | tac
display docker container details for svc-10168
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tee /tmp/svc-10168.out | head -n 20
filter JSON records for svc-10169
jq -c '.users[] | select(.active == true) | .email' /srv/svc-10169/jobs.json | tee -a /tmp/svc-10169.log
clean up selected files in /srv/svc-10170
find /srv/svc-10170 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | head -n 5
display the working tree state in /srv/svc-10171
git -C /srv/svc-10171 status --porcelain=v1 --show-stash --untracked-files=normal | tee /tmp/svc-10171.out
execute a container task for svc-10172
docker run --rm -v /srv/svc-10172/logs:/logs:ro busybox:1.36 df -h | tail -n 50
show recent commits in /srv/svc-10173
git -C /srv/svc-10173 log --graph --oneline -n 100 | head -n 10
filter log content for svc-10174
grep -RIn 'panic[(]' /srv/svc-10174 --exclude-dir=vendor | sed 's/^/ /'
clean up selected files in /srv/svc-10175
find /srv/svc-10175 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + | rev
locate matching files in /srv/svc-10176
find /srv/svc-10176 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cat
list matching paths under /srv/svc-10177
find /srv/svc-10177 -type l -empty -mtime +7 -delete | awk '{print $1}'
find files under /srv/svc-10178
find /srv/svc-10178 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + 2>&1 | tee /tmp/svc-10178.log
list changed files in /srv/svc-10179
git -C /srv/svc-10179 diff --stat HEAD~2..HEAD -- | tee /tmp/svc-10179.out
list repository status details in /srv/svc-10180
git -C /srv/svc-10180 status --porcelain=v1 --ignored --untracked-files=all | awk '{print $2}'
locate matching files in /srv/svc-10181
find /srv/svc-10181 -type d -name '*.log' -mtime +30 -exec ls -lh {} + | less